Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8889219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:12:30+00:00 2026-06-14T22:12:30+00:00

I run a hmmscan analysis using a FASTA file asking for tabular output format

  • 0

I run a hmmscan analysis using a FASTA file asking for tabular output format with –tblout option, which is deliberately space-delimited (rather than tab-delimited) and justified into aligned columns.

The file looks like this (this is just a format example)

targetname accession queryname    accession  e-value score bias
x_x_x      PFyyyy.y  ContigXXX_0  -          x.xe-xx yy.y  x.x
x          PFyyyy.yy COntigXXX_1  -          xe-x    yy.y  x.x
x_x        PFyyyy.y  COntigXXX_2  -          xe-xx    y.y  x.x
x_x_x      PFyyyy.yy COntigXXX_3  -          x.xe-x  yy.y  x.x
.
..

where target name are for example: Methyltransf or Dimer_tnp_hAT or Nucleotide_trans

where accession are for example: PF13847.1 or PF03407.11 or PF01958.13;

where query name are for example: Contig244_1 or Contig44245_3 or Contig12345_6

where the second accession column is: –

where e.value are for example: 4.0e-10 or 3.5e-15, etc..

and score and bias are numbers in this format: xx.x

What I’d like to do is to cut the queryname column where all the ContigXXX_X with significant hits to protein domains are.

After this I’ll be able to sort them and keep only the first occurence of each Contig and I can compare the file with the results from BlastP and BlastX (where I was already able to get the list of my Contigs that have hits to nr database)

So my question is: How can I cut the column where all my Contigs are?
I’ve been try with grep,sed,cut commands but I haven’t found the right one yet.

I’m new to Unix language and I’m still learning so every suggestions will be really appreciate.

And if my question is not clear just tell me, I can modify it!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:12:31+00:00Added an answer on June 14, 2026 at 10:12 pm
    awk 'NR!=1{print $3}' your_file
    

    or

    perl -F -lane 'if($.!=1){print $F[2]}' your_file
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run into a problem using session in .php file i attached in jumi
I run a very simple php file on apache. Then I benchmark apache, using
I run into this problem. I have a textarea which I only want to
I run this code using both gpp and microsoft compiler but in both case
I run some validation on my form when a checkbox is clicked, which works
I run my blog using Wordpress and all too recently became a big believer
I run LoginForm using the code below: [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false);
We run an AI programming competition in which contestants will code an AI that
I run my sites all on InnoDB tables which is working really well so
? (run-program ls '() :output *standard-output*) money.lisp ssqHitNum.txt ssqNum.txt #<EXTERNAL-PROCESS (ls)[1019] (EXITED : 0)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.