Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dacotahm
    Member
    • Oct 2011
    • 28

    #1

    What is the best/easiest way to apply annotation info to a fasta defline?

    I've been doing some de novo transcriptome work and using standalone BLAST and other programs to identify gene homologs, features, etc. and I would like to know what the best way to add some of this information after the > in the fasta/fastq defline.

    I often have my BLAST results output to .csv so it's possible to do a lookup-append kind of script (which is what I usually do), but I want to know if there is an actual toolkit or more versatile script for attaching this information.

    What do you usually use for this?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7138

    #2
    Since the exact format of the csv file you have may be different see if you can find a local informatics person who can help. This should be a simple script (or even an awk/sed solution may be enough).

    If you post a few example lines of your headers/annotation someone here can help.

    Comment

    • Markiyan
      Senior Member
      • Sep 2010
      • 126

      #3
      Just use space separated HASH - like list after the seq_id kile key="vallue"

      In this case I would use the hash - like list:

      >[asm_id.contig_id] key1="vallue1" key2="valllue2" and so on

      example:

      >SP_AS1.CO0001 gene="dnaA" product="replication initiation protein" colour="255 128 0" db_xref="234234,623461,123634"
      ATG.....

      The most critical bits are the ID format/structure and the consistent fields list.

      Then it can be written as csv, embl, etc files:

      ID,gene,product,colour,db_xref,seq,seq_aa

      PS: if you encounter problems with blast+, than use the NCBI's legacy blast.

      see more at: blastedbio.blogspot.co.uk
      Last edited by Markiyan; 03-03-2016, 05:40 AM. Reason: update about blast+ issues.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        The Factors Reshaping Genome Assembly
        by SEQadmin2



        When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
        11-24-2026, 07:04 AM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-23-2026, 11:11 AM
      0 responses
      39 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-17-2026, 06:27 AM
      0 responses
      47 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      68 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      68 views
      0 reactions
      Last Post SEQadmin2  
      Working...