Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bair
    Member
    • Jan 2010
    • 65

    #1

    Velvet denovo

    Dear all,

    We have an alignment file in bam format including three type of reads with different length ( pair-end and mate-pair), we want to do denovo assembly for the novel sequence by using velvet.

    We got three fastq files with unmapped reads from the bam file by using picard ViewSam.jar.

    How to input these reads to velvet? Since the reads in fastq file are not in proper order, e.g no pair-end relation, can we treat these reads as singletons?

    Can we use velvet to handle the three fastq files together?

    Many thanks!
  • francesco.vezzi
    Member
    • Jan 2009
    • 50

    #2
    You are free to treat the reads as they are singletons but this will probably lead to a bad assembly with a lot of short contigs. If you have a way to keep the paired read information (with the SAM file it must be possible) this will help a lot the assembly phase.

    As far as the last question on the on line manual you will find an example to how give to velvet more then one file in input

    Francesco

    Comment

    • bair
      Member
      • Jan 2010
      • 65

      #3
      Thank you Francesco,

      So pair-end information will lead to better assembly, I need to extract this from the sam file.

      Comment

      • maubp
        Peter (Biopython etc)
        • Jul 2009
        • 1544

        #4
        Sorting the SAM/BAM file by name may help - or you could do the sorting after converting to FASTQ. See also the thread "BAM to fastq how?" on the samtools-help mailing list this August:

        Comment

        • Torst
          Senior Member
          • Apr 2008
          • 275

          #5
          Originally posted by bair View Post
          We have an alignment file in bam format including three type of reads with different length ( pair-end and mate-pair), we want to do denovo assembly for the novel sequence by using velvet.We got three fastq files with unmapped reads from the bam file by using picard ViewSam.jar.
          So you only want to de novo the unmapped reads to find novel segments?

          How to input these reads to velvet? Since the reads in fastq file are not in proper order, e.g no pair-end relation, can we treat these reads as singletons?
          You should write a script to split your unmapped reads into pairs & singletons, and do this for each of the three libraries.
          eg. lib1p.fa lib1s.fa lib2p.fa lib2s.fa lib3p.fa lib3s.fa

          Can we use velvet to handle the three fastq files together?
          Yes, but you may need to re-compile velvet to support CATEGORIES=4. Here is a suitable partial command line:

          % velveth -shortPaired lib1p.fa -shortPaired2 lib2p.fa -shortPaired3 lib3p.fa -short4 lib1s.fa lib2s.fa lib3s.fa
          % velvetg -exp_cov auto -cov_cutoff auto

          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...
            Today, 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, Yesterday, 11:11 AM
          0 responses
          14 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-17-2026, 06:27 AM
          0 responses
          39 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          55 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          61 views
          0 reactions
          Last Post SEQadmin2  
          Working...