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
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin


            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
            Yesterday, 07:01 AM
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          39 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          41 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          35 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          55 views
          0 likes
          Last Post seqadmin  
          Working...
          X