Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • DrYak
    Member
    • Sep 2013
    • 13

    GC content of assembled transcripts

    Hi,

    I have a transcriptome assembly that is comprised of a metazoan and protist (intracellular symbiont) component. I know from the assemblies of similar organisms that the CG percentage of the two organisms are very different and can be used to separate contigs.

    Is there a simple tool that I can use to (1) determine the GC content (%) of each contig in the final assembly (fasta) and (2) plot the histogram (or provide the bins for plotting) and (3) split the fasta file based on GC content (or provide a list of contigs with associated GC % that can be sorted and split).

    I suppose 2 and 3 are a bit redundant because I can plot the histogram from the list of contigs and GC %.

    Thanks,
    Dave
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    Hi Dave,

    The BBMap package has a tool called Stats (stats.sh) which will list the gc content per scaffold to a file like this:

    Code:
    stats.sh in=assembly.fa gc=gc.txt
    You can plot a histogram and subsequently bin like this:

    Code:
    reformat.sh in=assembly.fa gchist=gchist.txt
    reformat.sh in=assembly.fa out=low.fa maxgc=0.45
    reformat.sh in=assembly.fa out=high.fa mingc=0.450001

    Comment

    • DrYak
      Member
      • Sep 2013
      • 13

      #3
      Originally posted by Brian Bushnell View Post
      Hi Dave,

      The BBMap package has a tool called Stats (stats.sh) which will list the gc content per scaffold to a file like this:
      I must admit I was hoping and, quite frankly, expecting, that BBMap would be capable of this. Once again thank you for your excellent package...

      Yours,
      Dave

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM
      • SEQadmin2
        From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
        by SEQadmin2


        Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


        The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
        ...
        06-02-2026, 10:05 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 11:10 AM
      0 responses
      6 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      41 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-09-2026, 11:58 AM
      0 responses
      102 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      123 views
      0 reactions
      Last Post SEQadmin2  
      Working...