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
            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
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          43 views
          0 reactions
          Last Post SEQadmin2  
          Working...