Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cutcopy11
    Member
    • Nov 2009
    • 19

    #1

    Bowtie: ?'s about h_sapiens_37_asm index/outputs

    Hello,

    1)
    I have a questions about bowtie's "h_sapiens_37_asm" index.
    For the human genome, the concise reference sequences are numbered 0 to 24. I
    assume these numbers represent chromosomes. Is 0 chromosome 1? What about X,
    Y, and the M?

    bowtie -z -f h_sapiens_37asm --concise reads/seq_human.fa human_map

    2)
    I am also confused about the localization of the 5' end of the read.

    According to the dafault output description, the fourth column shows the
    "0-based offset into the forward reference strand where leftmost character of
    the alignment occurs."

    If you don't use the concise option ...

    if a read is mapped 5' to 3' from position 1000 to 1035,
    the fourth column should be 1000, right?

    If a read is mapped 5' to 3' from position 1035 to 1000,
    will the fourth column be 1035 or 1000?
    I think this means the fourth column will be 1000.
    If this is the case, is there an "option" so that I can make it 1035 instead of 1000?

    Thanks,
    Clayton
  • Ben Langmead
    Senior Member
    • Sep 2008
    • 200

    #2
    Hi Clayton,

    Sorry - I saw your email and meant to reply immediately but it's probably better to reply here anyway...

    Originally posted by cutcopy11 View Post
    1)
    I have a questions about bowtie's "h_sapiens_37_asm" index.
    For the human genome, the concise reference sequences are numbered 0 to 24. I
    assume these numbers represent chromosomes. Is 0 chromosome 1? What about X,
    Y, and the M?

    bowtie -z -f h_sapiens_37asm --concise reads/seq_human.fa human_map
    It's 0=chr1, 1=chr2, ..., 21=chr22, 22=X, 23=Y, 24=MT. Not wanting anyone to have to contend with these numbers is one of the reasons I'm likely to deprecate --concise soon (I've already deprecated -b/--bin).

    Originally posted by cutcopy11 View Post
    2)
    I am also confused about the localization of the 5' end of the read.

    According to the dafault output description, the fourth column shows the
    "0-based offset into the forward reference strand where leftmost character of
    the alignment occurs."

    If you don't use the concise option ...

    if a read is mapped 5' to 3' from position 1000 to 1035,
    the fourth column should be 1000, right?

    If a read is mapped 5' to 3' from position 1035 to 1000,
    will the fourth column be 1035 or 1000?
    I think this means the fourth column will be 1000.
    If this is the case, is there an "option" so that I can make it 1035 instead of 1000?

    Thanks,
    Clayton
    You're right that it will be 1000 in both cases. There's no option to invert that for reads on the reverse strand, but it's easy to convert Bowtie's output to your desired output with a little postprocessing. An example:

    $ ./bowtie --quiet -c e_coli GGTGCGTTACTGTGGCACTTCGNCCTGATGTGGAT,GCATTTTTTTCGCCAGCCAGGCTTTCGCTTTGGGT
    0 - gi|110640213|ref|NC_008253.1| 4769855 ATCCACATCAGGNCGAAGTGCCACAGTAACGCACC IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 0 22:G>N
    1 + gi|110640213|ref|NC_008253.1| 2365447 GCATTTTTTTCGCCAGCCAGGCTTTCGCTTTGGGT IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 0
    $ ./bowtie --quiet -c e_coli GGTGCGTTACTGTGGCACTTCGNCCTGATGTGGAT,GCATTTTTTTCGCCAGCCAGGCTTTCGCTTTGGGT | awk -v OFS='\t' '{if($2 == "-") {$4 += (length($5)-1)} ; print $0}'
    0 - gi|110640213|ref|NC_008253.1| 4769889 ATCCACATCAGGNCGAAGTGCCACAGTAACGCACC IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 0 22:G>N
    1 + gi|110640213|ref|NC_008253.1| 2365447 GCATTTTTTTCGCCAGCCAGGCTTTCGCTTTGGGT IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 0
    Ben

    Comment

    • cutcopy11
      Member
      • Nov 2009
      • 19

      #3
      Thanks Ben

      Comment

      Latest Articles

      Collapse

      • 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, detection...
        Yesterday, 06:46 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-28-2026, 09:51 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      71 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Working...