Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • logicthief
    Member
    • Jan 2012
    • 11

    #1

    Get chromosome number from BLAST results

    Hi everyone,

    I am a beginner in bioinformatics, could anyone tell me how to extract the chromosome number of each BLAST hit for a bunch of query sequences? I looked at the "hit table" but only found the start and end loci of each hit, and I knew there's chr info in standard BLAST report (txt format), it's like below, hard to manipulate on a large scale:

    Query=
    Length=59


    Score E
    Sequences producing significant alignments: (Bits) Value

    ref|NT_039716.7| Mus musculus strain C57BL/6J chromosome X ge... 93.5 2e-17
    ref|NW_001035178.1| Mus musculus strain mixed chromosome X ge... 93.5 2e-17

    ALIGNMENTS
    >ref|NT_039716.7| Mus musculus strain C57BL/6J chromosome X genomic contig, MGSCv37
    C57BL/6J
    Length=15097629

    Score = 93.5 bits (50), Expect = 2e-17
    Identities = 57/60 (95%), Gaps = 1/60 (2%)
    Strand=Plus/Plus

    Query 1 TACC-CTGTAGGGTTGATAAGCTTATGTTCACTATAACAATTAACACATTTGCCATTGAC 59
    |||| ||||| | |||||||||||||||||||||||||||||||||||||||||||||||
    Sbjct 1486960 TACCTCTGTAAGATTGATAAGCTTATGTTCACTATAACAATTAACACATTTGCCATTGAC 1487019


    >ref|NW_001035178.1| Mus musculus strain mixed chromosome X genomic scaffold, alternate
    assembly Mm_Celera 232000009784844, whole genome shotgun
    sequence
    Length=8237495

    Features flanking this part of subject sequence:
    323432 bp at 5' side: uncharacterized protein LOC211208
    337262 bp at 3' side: uncharacterized protein LOC73934

    Score = 93.5 bits (50), Expect = 2e-17
    Identities = 57/60 (95%), Gaps = 1/60 (2%)
    Strand=Plus/Plus

    Query 1 TACC-CTGTAGGGTTGATAAGCTTATGTTCACTATAACAATTAACACATTTGCCATTGAC 59
    |||| ||||| | |||||||||||||||||||||||||||||||||||||||||||||||
    Sbjct 577313 TACCTCTGTAAGATTGATAAGCTTATGTTCACTATAACAATTAACACATTTGCCATTGAC 577372
    I am wondering whether the ASN file would contain such information (it seems not human readable?). If not, the only way I can think of is to extract chr no. from the standard report by perl or grep (another problem is I don't know how to write perl scripts)... Thanks a lot!
  • tomc
    Member
    • Feb 2011
    • 29

    #2
    blast knows nothing of chromosomes so it they are in a blast report it is because you happened to have a blast database constructed from fasta file with Chr info in the their defline ( the line above the sequence that begins with ">" )
    I think your choices are going to be either,
    extract it from the report
    (which can be messy as there are also many standards for writing deflines as well)

    or find/make blast databases that are already per chromosome then any hits are
    to the chromosome you are blasting.

    Comment

    • logicthief
      Member
      • Jan 2012
      • 11

      #3
      Tomc, thank you. Making such a database seems too challenging for me....

      Comment

      • logicthief
        Member
        • Jan 2012
        • 11

        #4
        Update.
        just got the answer from a nice NCBI staff:
        choose NCBI genome(chromosome) as the database for web megablast, specify the organism (here I used mouse genome), then you get a lot NC_'s (and NT's NW's etc.) in the hit table, the NC is complete chromosome, NC_000067 stands for chr1, NC_000085 for chr19, NC_000086/87 for X/Y (I've left off the current .version number for these accessions). Besides, you can get the coordinates of alignment on corresponding chromosome by looking at column 9 and 10. For hit table format, click here(http://www.ornl.gov/sci/techresource...me/blast.shtml).
        Originally posted by logicthief View Post
        Hi everyone,

        I am a beginner in bioinformatics, could anyone tell me how to extract the chromosome number of each BLAST hit for a bunch of query sequences? I looked at the "hit table" but only found the start and end loci of each hit, and I knew there's chr info in standard BLAST report (txt format), it's like below, hard to manipulate on a large scale:

        Query=
        Length=59


        Score E
        Sequences producing significant alignments: (Bits) Value

        ref|NT_039716.7| Mus musculus strain C57BL/6J chromosome X ge... 93.5 2e-17
        ref|NW_001035178.1| Mus musculus strain mixed chromosome X ge... 93.5 2e-17

        ALIGNMENTS
        >ref|NT_039716.7| Mus musculus strain C57BL/6J chromosome X genomic contig, MGSCv37
        C57BL/6J
        Length=15097629

        Score = 93.5 bits (50), Expect = 2e-17
        Identities = 57/60 (95%), Gaps = 1/60 (2%)
        Strand=Plus/Plus

        Query 1 TACC-CTGTAGGGTTGATAAGCTTATGTTCACTATAACAATTAACACATTTGCCATTGAC 59
        |||| ||||| | |||||||||||||||||||||||||||||||||||||||||||||||
        Sbjct 1486960 TACCTCTGTAAGATTGATAAGCTTATGTTCACTATAACAATTAACACATTTGCCATTGAC 1487019


        >ref|NW_001035178.1| Mus musculus strain mixed chromosome X genomic scaffold, alternate
        assembly Mm_Celera 232000009784844, whole genome shotgun
        sequence
        Length=8237495

        Features flanking this part of subject sequence:
        323432 bp at 5' side: uncharacterized protein LOC211208
        337262 bp at 3' side: uncharacterized protein LOC73934

        Score = 93.5 bits (50), Expect = 2e-17
        Identities = 57/60 (95%), Gaps = 1/60 (2%)
        Strand=Plus/Plus

        Query 1 TACC-CTGTAGGGTTGATAAGCTTATGTTCACTATAACAATTAACACATTTGCCATTGAC 59
        |||| ||||| | |||||||||||||||||||||||||||||||||||||||||||||||
        Sbjct 577313 TACCTCTGTAAGATTGATAAGCTTATGTTCACTATAACAATTAACACATTTGCCATTGAC 577372
        I am wondering whether the ASN file would contain such information (it seems not human readable?). If not, the only way I can think of is to extract chr no. from the standard report by perl or grep (another problem is I don't know how to write perl scripts)... Thanks a lot!
        Last edited by logicthief; 04-11-2012, 05:02 PM.

        Comment

        • Growlywolf
          Junior Member
          • Apr 2011
          • 3

          #5
          use the module Bio::SearchIO of Bioperl

          Comment

          • logicthief
            Member
            • Jan 2012
            • 11

            #6
            Originally posted by Growlywolf View Post
            use the module Bio::SearchIO of Bioperl

            http://bioperl.open-bio.org/wiki/HOWTO:SearchIO
            Thanks, growlywolf. It seems very powerful (although not very straightforward for my purpose), I will try it later.

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 10-22-2026, 11:13 AM
            0 responses
            60 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            75 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            74 views
            0 reactions
            Last Post SEQadmin2  
            Working...