Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Simonli
    Member
    • Oct 2013
    • 14

    #1

    Trinity can not recognize the reads

    Well, this is basically a followup from here (http://seqanswers.com/forums/showthread.php?t=34703): I first use *.fasta to feed trinity, it shows my reads could not be deciphered as being /1 or /2 of a PE fragment.
    and my fasta files was like:

    >HISEQ:190:C2L5LACXX:7:1101:2055:1989 1:N:0:ATCATG
    AACAATTTCATCCTCGAATCCTACCACACGGGCGCTGGCACCGCCTACGCCGTCCTCGCTGAGAACACCACCGAAGCCAACCCTCGCACCTTCTACGTGA
    >HISEQ:190:C2L5LACXX:7:1101:3448:1999 1:N:0:ATCACG
    GTCGTATGCAAAGGATTCAACCCCACGCATTGTAAAATTGCAAGACGCCAGTTAGTCCTAAAGAGTTTCTTCAATAGGACCGTTACCAGCCAGCTAAGAT
    >HISEQ:190:C2L5LACXX:7:1101:3524:1986 1:N:0:ATCACG
    CTTGTCCTTCTTCTCTTTCCTCTCTTTGGTTTTATCTGACACAAGATCCTTCTCAATCTTATCGAGACTCGGCCTCTGCTTGAGTTTCTCAGAGTCATTA
    >HISEQ:190:C2L5LACXX:7:1101:4204:1996 1:N:0:ATCACG
    GTGTTAAAAGGGCTAGAGATCGAAATGTTAGACAAAGCGAAATGGAGCAAAGACTGGCAGATCCCAACCAATCCCAATCACGCCGAGAACAAACTTGGTC
    >HISEQ:190:C2L5LACXX:7:1101:4587:2000 1:N:0:ATCACG
    Then I wrote a script (hope this would help somebody has the same problem) to add /1 or /2 to the fasta files:

    f = open("merged1.fasta")
    output = open("1.fasta",'w')
    i = 1
    for line in f:
    if (i % 2) > 0:
    str = line.split()
    output.write(str[0]+' ')
    output.write(str[1][2:]+"/1\n")
    else:
    output.write(line)
    i = i+1
    Then the fasta files turn to:

    >HISEQ:190:C2L5LACXX:7:1101:2055:1989 N:0:ATCATG/1
    AACAATTTCATCCTCGAATCCTACCACACGGGCGCTGGCACCGCCTACGCCGTCCTCGCTGAGAACACCACCGAAGCCAACCCTCGCACCTTCTACGTGA
    >HISEQ:190:C2L5LACXX:7:1101:3448:1999 N:0:ATCACG/1
    GTCGTATGCAAAGGATTCAACCCCACGCATTGTAAAATTGCAAGACGCCAGTTAGTCCTAAAGAGTTTCTTCAATAGGACCGTTACCAGCCAGCTAAGAT
    >HISEQ:190:C2L5LACXX:7:1101:3524:1986 N:0:ATCACG/1
    CTTGTCCTTCTTCTCTTTCCTCTCTTTGGTTTTATCTGACACAAGATCCTTCTCAATCTTATCGAGACTCGGCCTCTGCTTGAGTTTCTCAGAGTCATTA
    >HISEQ:190:C2L5LACXX:7:1101:4204:1996 N:0:ATCACG/1
    GTGTTAAAAGGGCTAGAGATCGAAATGTTAGACAAAGCGAAATGGAGCAAAGACTGGCAGATCCCAACCAATCCCAATCACGCCGAGAACAAACTTGGTC
    >HISEQ:190:C2L5LACXX:7:1101:4587:2000 N:0:ATCACG/1
    Then I feed these reads to run Trinity again(I use seperate 4 stages), the first stage(inchworm) was good, however in the 2nd stage,

    The error report showing:

    Use of uninitialized value $pm_temp in division (/) at /local_scratch/.../Trinity.pl line 887
    Use of uninitialized value $pm_temp in division (/) at /local_scratch/.../Trinity.pl line 890
    So it seems manually rename the reads doesn`t work...

    Anybody any ideas can figure that out?

    Simon
  • Simonli
    Member
    • Oct 2013
    • 14

    #2
    correction, the second trial changed the python script a little bit and the output heading is like this:
    >HISEQ:190:C2L5LACXX:7:1101:2055:1989/1
    AACAATTTCATCCTCGAATCCTACCACACGGGCGCTGGCACCGCCTACGCCGTCCTCGCTGAGAACACCACCGAAGCCAACCCTCGCACCTTCTACGTGA
    I`ll see if it works.

    Comment

    Latest Articles

    Collapse

    • 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
    • SEQadmin2
      New Genomics Technologies Take Aim at Long-Standing Limits
      by SEQadmin2


      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
      ...
      09-28-2026, 10:25 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Yesterday, 11:13 AM
    0 responses
    18 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, Yesterday, 10:48 AM
    0 responses
    18 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    36 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Working...