Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing adapters, primers and polyA/T tails using Perl?

    Hi all,

    I've got many short sequences like the following:
    ADAPTER1 (or 2) + insert + Poly(A) + GGGG(n) + ADAPTER 1 ( or 2)

    I'd like to get the insert part for mapping. Also I need to record the adapter type, the length of poly(A) tail and length of GGGG(n) part.

    Because it is more than just adpater trimming, I think it is better to write a script to record and trim the adapter, poly(A), GGGG(n) by myself. I can only write some Perl scripts.

    But there should be some insertions or deletions in the adapter/polyA/GGG. Is there any Perl function or BioPerl function or some tool/package can search substrings with insertion/deletions/substitution?

    Thank you!

  • #2
    Maybe you can have a look at http://hannonlab.cshl.edu/fastx_toolkit/. There is trimming as well as clipping of reads in a fasta/q file. Using these and manually (of course using s script) monitor the length should do the job...

    Comment


    • #3
      Originally posted by sphil View Post
      Maybe you can have a look at http://hannonlab.cshl.edu/fastx_toolkit/. There is trimming as well as clipping of reads in a fasta/q file. Using these and manually (of course using s script) monitor the length should do the job...
      Thank you, sphil. The FASTX can only trim the adapter, but it cannot trim the polyA tail (A-stretch). I need to get the A-stretch and G-stretch length, is there any function (or regEx) to get this information? Sometimes, the A-stretch also has some deletions or insertions, like AAAAAAGAAAATAAA.

      Comment


      • #4
        hmmm in python there is a regex moduk named "re" since there are mismatches it will be quite tricky to filter thos except you have defined length, which I highly doubt...

        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
        55 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        51 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        45 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