Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Francy87
    Member
    • May 2013
    • 28

    #1

    mapping with botwie/bwa

    Hello!
    I'm sorry for the stupid question, but I'm new in metagenomic and metatranscriptomic stuffs... I'd like to map my Hiseq shotgun metatranscriptomic reads to some reference genomes (I already know the microbial community composition, since I analysed 16S data), using botwie or bwa. The question is: do I have to map each sample to each genome? or is there a way to map to more genomes at the same time? And if not, how can I merge the multiple mapping files from the same sample, then?

    Thanks a bunch
    Francesca
  • jimmybee
    Senior Member
    • Sep 2010
    • 119

    #2
    Originally posted by Francy87 View Post
    Hello!
    I'm sorry for the stupid question, but I'm new in metagenomic and metatranscriptomic stuffs... I'd like to map my Hiseq shotgun metatranscriptomic reads to some reference genomes (I already know the microbial community composition, since I analysed 16S data), using botwie or bwa. The question is: do I have to map each sample to each genome? or is there a way to map to more genomes at the same time? And if not, how can I merge the multiple mapping files from the same sample, then?

    Thanks a bunch
    Francesca
    No you wont have to map them separately. Create a multi-fasta file of all your reference sequences and then build the mapping index from that.

    Comment

    • Francy87
      Member
      • May 2013
      • 28

      #3
      Originally posted by jimmybee View Post
      No you wont have to map them separately. Create a multi-fasta file of all your reference sequences and then build the mapping index from that.

      Hi Jimmy,
      Thanks for your reply. Can I just 'cat' all the reference genomes together or should I modify them in some way?
      Thanks again
      Francesca

      Comment

      • swbarnes2
        Senior Member
        • May 2008
        • 910

        #4
        Cat them together, then you use bowtie-build or bwa index to make the index. Then you align.

        Comment

        • jimmybee
          Senior Member
          • Sep 2010
          • 119

          #5
          Originally posted by Francy87 View Post
          Hi Jimmy,
          Thanks for your reply. Can I just 'cat' all the reference genomes together or should I modify them in some way?
          Thanks again
          Francesca
          Yeah no need to modify them.

          Comment

          • Francy87
            Member
            • May 2013
            • 28

            #6
            Hi again!
            I downloaded some reference genomes from the ncbi ftp site (about 500). Is there a simple way to cat all of them recursevely without doing it one at the time? I have many directories, each one with one genome in .fna format...

            Thanks

            Comment

            • dpryan
              Devon Ryan
              • Jul 2011
              • 3478

              #7
              If all of the *.fna files are only buried one directory deep, then something like the following bash script should work:

              Code:
              #!/bin/bash
              dirs=`find . -mindepth 1 -maxdepth 1 -type d`
              for d in $dirs
              do
                  cat $d/*.fna >> genomes.fna
              done
              This could be modified to easily handle the presence of subdirectories.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                by SEQadmin2



                CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                Despite this, “CRISPR helped turn genome editing from a specialized technique into
                ...
                07-31-2026, 11:01 AM
              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                07-20-2026, 11:48 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 08-06-2026, 07:41 AM
              0 responses
              19 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 08-03-2026, 10:13 AM
              0 responses
              33 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-31-2026, 02:55 AM
              0 responses
              43 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              26 views
              0 reactions
              Last Post SEQadmin2  
              Working...