Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Perl script

    Can any one help me with a perl script for removing the repeats in the reads , for eg i will paste the format of the seq below

    HWI-EAS373:2:100:1792:1509#0/1 AAAAAAAAAAAAAAAAAACAACAAAAAAACAAAACAAAAACAAAACCAACACC ]_a`_Z_IT`b_\[_Ya\[\[]S\[RHUR^a^YY_V]aa^[TaW\Y\W_`^][aYR_BBBBBBBBBBBBBBBBBBB NF
    HWI-EAS373:2:100:1792:1509#0/2 ACACACACATGGTCCACCATATTTTTTTACTTGGTTGTA aRaPZ__\__]VG[]RMGX\_Z_aa_P_NQ[_\VTFZTOa`R_[Q]ZZZXaBBBBBBBBBBBBBBBBBBBBBBBBB NF
    HWI-EAS373:2:100:1792:1691#0/1 ACACACACAGTGTAGCTGGGGAGCAGGGATCCATTGATC abaa^]Waa]b_`Vb_b`aa[^`aa_aaXD^H]`]QWYa`ZaZaH]`TMS]`^BBBBBBBBBBBBBBBBBBBBBBB NF
    HWI-EAS373:2:100:1792:1691#0/2 GGCTTTTTTGGTATCCTTTTCTCATGTTAGATGATGGGAGCATTTTTCTTCAGTgggatggatggtctggtagggc a^aY`_aaVa`UUabWaWa_bab_`a`b`aaOb``YN[a]GR`a`a`ba]_[J[XYBBBBBBBBBBBBBBBBBBBB NF
    HWI-EAS373:2:100:1792:198#0/1 CGGCATTCCTTTTATTATAGCCCCTCTAGCTAGTTACAGTAGATAGGAACGtgcatgaatctntaaatggntgnan aZ]`]ab``aaab`a`]`YT`a^`aa`UZ\^X_Y]^Z^aYY[TYV[\XVLYBBBBBBBBBBBBBBBBBBBBBBBBB NF
    HWI-EAS373:2:100:1792:198#0/2 agCTGATCTAGCGTCGTCTGCAACAACAACCGCGGGGGCGTCatcaacggcaagtgcggctcagcctcgggtgttg HOT_TTGYZGV_]GUQ_XNGSQZ\QIYTXT\_RKQGGL]O\ZBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB NF
    HWI-EAS373:2:100:1793:876#0/1 CCNCTGCCTCTACCTCCACGCCCTCGGCCTCTGCCACGCCCGCGGCCTGTATCTccagtgctctactcgcacanan `WDV^`a``a`aa^a`_aa[a]aY[`a\][a`\^``\`\]\^^S]Z[ZXW]ZP\SQBBBBBBBBBBBBBBBBBBBB NF
    Last edited by bioenvisage; 01-28-2010, 06:43 AM.

  • #2
    I'm having trouble making out what the data should look like - try wrapping the example with code tags,
    [ code ] sequence data [ /code ]

    Comment


    • #3
      By repeats in the reads do you mean
      (a) Within a read, the repetition of a single nucleotide or simple sequence
      (b) For sets of reads which are identical (presumed PCR duplicates), report only one
      (c) Something else

      SAMTools will do (b)

      Comment


      • #4
        If you just want to remove homopolymers of DNA of some arbitrary length, use something like:
        Code:
        $min = 4;
        
        while (<>)
        {
        s/(G){$min,}|(A){$min,}|(T){$min,}|(C){$min,}/$1$2$3$4/g;
        print;
        }
        You are probably better off determining where and when they occur before wiping them out, e.g. see http://www.bioperl.org/wiki/Finding_...hes_in_contigs

        If your sequencing method is generating spurious homopolymers you will need a much more sophisticated approach to determining which ones are real.

        Comment


        • #5
          hi krobison ...iam telling about with in the read the repetation of single nucleotide and also simple repeats.

          Comment

          Latest Articles

          Collapse

          • 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
          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          23 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          24 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          21 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          52 views
          0 likes
          Last Post seqadmin  
          Working...
          X