Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Areeya
    Junior Member
    • Apr 2016
    • 1

    Trimmomatics output files

    Why I could get only paired and unpaired files of R1 but not those R2 when I run the below command in Trimmomatics?

    Command line for batch analysis in Trimmomatics:

    for A in WMB*_R1.fastq ;
    do B=${A%%_R1.fastq}_R2.fastq;
    o=${A#};
    o=${o%_R1.fastq};
    o1=$o".paired_R1.fastq";
    o2=$o".unpaired_R1.fastq";
    o=3$o".paired_R2.fastq";
    o=4$o".unpaired_R2.fastq";
    java -jar jars/trimmomatic-0.32.jar PE -phred33 $A $B $o1 $o2 $o3 $o4 ILLUMINACLIP:Trueseq_PE.fa:2:30:10:1:true LEADING:5 TRAILING:5 SLIDINGWINDOW:4:20 MINLEN:75;
    done
  • westerman
    Rick Westerman
    • Jun 2008
    • 1104

    #2
    Using the variable 'o' for your R2 output file names. Nothing to do with trimmamatic but rather your script.

    Comment

    Latest Articles

    Collapse

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 06-09-2026, 11:58 AM
    0 responses
    21 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-05-2026, 10:09 AM
    0 responses
    27 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-04-2026, 08:59 AM
    0 responses
    38 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-02-2026, 12:03 PM
    0 responses
    61 views
    0 reactions
    Last Post SEQadmin2  
    Working...