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
            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
          • seqadmin
            Techniques and Challenges in Conservation Genomics
            by seqadmin



            The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

            Avian Conservation
            Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
            03-08-2024, 10:41 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:37 PM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 06:07 PM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-22-2024, 10:03 AM
          0 responses
          49 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-21-2024, 07:32 AM
          0 responses
          67 views
          0 likes
          Last Post seqadmin  
          Working...
          X