Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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


    • #3
      Thank you Francesco,

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

      Comment


      • #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


        • #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

          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM
          • seqadmin
            Techniques and Challenges in Conservation Genomics
            by seqadmin



            The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

            Avian Conservation
            Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
            03-08-2024, 10:41 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 03-27-2024, 06:37 PM
          0 responses
          13 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-27-2024, 06:07 PM
          0 responses
          11 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-22-2024, 10:03 AM
          0 responses
          53 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-21-2024, 07:32 AM
          0 responses
          69 views
          0 likes
          Last Post seqadmin  
          Working...
          X