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
      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, Today, 10:05 AM
    0 responses
    8 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 08-13-2026, 12:22 PM
    0 responses
    32 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 08-11-2026, 10:35 AM
    0 responses
    24 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 08-06-2026, 07:41 AM
    0 responses
    38 views
    0 reactions
    Last Post SEQadmin2  
    Working...