Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blaze9
    Junior Member
    • Feb 2013
    • 8

    #1

    Obtaining contig stats from Velvet+Oases

    Hey all,

    Here's a laydown of my information.

    We sequenced a transcriptome. The company returned to us 4 different reads of that same transcriptome.

    We ran FastQC and trimmed all 4 paired reads individually. We had some contamination issues, so we ran DeconSeq on all 4 reads.

    We ran through the velvet+oases pipeline using Kmergenie for our k-mer count.

    We concatenated the final oases outputs into one fasta file. This contained 4 repeats of our transcripts.

    We ran through the Velvet+Oases + kmergenie pipeline again, this time utilizing the "merged" option.

    We took the single output from Oases and ran it against CD-HITs to merge the similar sequences together.

    Now, we have a final fasta file containing around 37,000 transcripts.

    How can I obtain the contig stats for this final file? I've read countless papers which outline the following core-information:

    Contig Number
    Maximum Contig Length
    Minimum Contig length
    Average Contig Length
    N50 Length
    Number of Reads per contig

    I looked at the "stats.txt" file from Oases, but nothing is given in this format.

    How would I go about generating that info?

    Thank you.
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    If you download the BBTools package, it contains a program for generating assembly statistics:

    stats.sh in=contigs.fa

    For the number of reads per contig, though, you will need to use mapping, and the answer will be subjective, particularly for a transcriptome. That said, you can determine it like this:

    bbmap.sh ref=contigs.fa in=reads.fq covstats=covstats.txt

    The columns of "covstats" labeled "Plus_reads" and "Minus_reads" will tell you how many reads map to each contig. It's probably easiest if you first concatenate all of your read input files together (all the read1 files into one file and all the read2 files into another) and feed them with "in1" and "in2".

    -Brian

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