Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • papori
    Senior Member
    • Dec 2010
    • 181

    #1

    Ambiguous bases should not be more than total 10% length or more than 14n's in a row.

    Hi all,
    I am trying to submit a transcriptome assembly to the TSA.
    The format is like this:
    >seq1234
    TTTTTTTNNNTTTTTTTTTTTTGGTTTTCTTGAGTAAAGTAAAAAAACCTGAATGATG
    GATGAGGCGAATGATGTGAGGATAAATNNNNAAACGANTNTTATAAGATGTAAAAGTT
    GTCATTAACTTAGTAAAGGCCCTAATTATTGAAGTTAATTATTCCAATGGATAAAAAT
    >seq1235
    AGACACATCGTGTGTTTCTGGATCTTTTTCAGCTTCTTCCTTCAAATCTACTCTGGTT
    GGTGCTGCTGTCAACTGCATCATTTTCGTTTGCTNNNNNCTTTTTGGCCGGAGCATCA
    and so on...

    The TSA are asking for this criteria:
    Ambiguous bases should not be more than total 10% length or more than 14n's in a row.

    Does someone knows quick linux based solution for this?
    I googled it, but i found only solutions to replace the ambiguous as this:

    or this,

    but i have perl issues with this..

    any linux based solution will be appreciate!
    Thanks
  • westerman
    Rick Westerman
    • Jun 2008
    • 1104

    #2
    The quoted script will convert Ns into As. I doubt if this is what you really want to submit to the TSA since at the point you would be submitting incorrect information.

    I do not have a program to recommend but just throwing away scaffolds/contigs that do not meet TSA's criteria would be what I would do.

    Comment

    • Brian Bushnell
      Super Moderator
      • Jan 2014
      • 2709

      #3
      I would also recommend throwing away scaffolds that are more than 10% ambiguous. But for scaffolds with more than 14 consecutive Ns, you can either split them into two scaffolds at that point, or change the Ns into to a single N (which is still technically valid as N signifies an unknown sequence of unknown length). Otherwise you could lose a lot of useful information.

      Unfortunately I don't have a tool that does this.

      Comment

      • westerman
        Rick Westerman
        • Jun 2008
        • 1104

        #4
        Originally posted by Brian Bushnell View Post
        ... or change the Ns into to a single N (which is still technically valid as N signifies an unknown sequence of unknown length). ...
        I do not agree with Brian on this. A single N should mean a single base that can not be resolved -- often due to due to quality or other technical factors. It should not represent an unknown length. Multiple-Ns, just like poly-A or other poly tracts do often represent unknown lengths because it is hard to accurately sequence and assemble long stretches of a single nucleotide.

        Comment

        • westerman
          Rick Westerman
          • Jun 2008
          • 1104

          #5
          And as reference to an authority (instead of my own personal opinion), NCBI says (I made the relevant text bold)
          TSA does not accept assemblies which have Ns inserted to represent gaps of unknown length. Sequences containing Ns representing gaps of unknown length need to be split into individual assemblies. Internal Ns representing ambiguous bases or known length gaps can be submitted. If the Ns represent ambiguous bases they should not be more than 10% of the sequence length or more than 14 n's in a row. If the N's represent a known length gap then an assembly_gap feature must be used.

          Comment

          • Brian Bushnell
            Super Moderator
            • Jan 2014
            • 2709

            #6
            OK, I will defer to that guidance, then. I interpret single N's as single unknown bases, but I know I have read alternate definitions of N as meaning unknown sequence of unknown length, though I couldn't find a reference to that when searching.

            Note, though, that those guidelines are not necessarily ideal, and preclude the submission of scaffolded assemblies such as HG19.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              @papori - What software were you using for the transcriptome assembly? In the example you posted were there multiple reads with N's in those positions or was there no consensus in the reads that spanned that region.

              Comment

              • papori
                Senior Member
                • Dec 2010
                • 181

                #8
                I am using Trinity, but i just figure out that i didnt use it properly and that is the reason for the Ns.
                Now, Trinity finished to run again, and i found that i dont have any Ns in the whole assembly..

                So, it is still interesting question:
                Ho to filter out contigs with more than 10% Ns or 14 in a row?

                But for me the problem just solved using different parameters in Trinity.
                Thanks!

                Comment

                • dpryan
                  Devon Ryan
                  • Jul 2011
                  • 3478

                  #9
                  For filtering I would think bioperl or biopython would come in useful. Just read in the resulting fasta files with those and then iterate over the contigs, calculating N content and such. That should be a pretty straightforward program to write (assuming you can code, otherwise I imagine it'd prove anything but straightforward).

                  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
                  38 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-22-2026, 10:48 AM
                  0 responses
                  28 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  41 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...