Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xhuister
    Member
    • Apr 2010
    • 41

    #1

    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!
  • sphil
    Senior Member
    • Apr 2010
    • 192

    #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

    • xhuister
      Member
      • Apr 2010
      • 41

      #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

      • sphil
        Senior Member
        • Apr 2010
        • 192

        #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

        • SEQadmin2
          Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
          by SEQadmin2



          CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

          Despite this, “CRISPR helped turn genome editing from a specialized technique into
          ...
          07-31-2026, 11:01 AM
        • SEQadmin2
          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
          by SEQadmin2


          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

          The systematic characterization of the human proteome has
          ...
          07-20-2026, 11:48 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 12:22 PM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-11-2026, 10:35 AM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-06-2026, 07:41 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-03-2026, 10:13 AM
        0 responses
        50 views
        0 reactions
        Last Post SEQadmin2  
        Working...