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
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2




          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
          Yesterday, 06:46 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        29 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        71 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        48 views
        0 reactions
        Last Post SEQadmin2  
        Working...