1
package org.usadellab.trimmomatic;
3
import java.io.IOException;
4
import java.util.Arrays;
6
public class Trimmomatic
12
public static void main(String[] args) throws IOException
14
boolean showUsage=true;
19
String restOfArgs[]=Arrays.copyOfRange(args, 1, args.length);
23
if(TrimmomaticPE.run(restOfArgs))
26
else if(mode.equals("SE"))
28
if(TrimmomaticSE.run(restOfArgs))
35
System.err.println("Usage: ");
36
System.err.println(" PE [-threads <threads>] [-phred33|-phred64] [-trimlog <trimLogFile>] <inputFile1> <inputFile2> <outputFile1P> <outputFile1U> <outputFile2P> <outputFile2U> <trimmer1>...");
37
System.err.println(" or: ");
38
System.err.println(" SE [-threads <threads>] [-phred33|-phred64] [-trimlog <trimLogFile>] <inputFile> <outputFile> <trimmer1>...");