In the main branch the call to Trimmomatic is hardcoded, e.g.
system ( "java -jar /usr/local/bin/trimmomatic-0.33.jar ... [other stuff]")
I've added a command line parameter to allow customization. I had to, since I'm not using Trimmomatic 0.33 (current version is 0.36) and my install location is different. The path to Trimmomatic jar goes in the $trimmomatic variable, so that the previous line becomes:
system ( "java -jar $trimmomatic ... [other stuff]")
The default value (if not specified from argument) is set to the old hardcoded one, so that compatibility with existing scripts is preserved.
In the main branch the call to Trimmomatic is hardcoded, e.g.
system ( "java -jar /usr/local/bin/trimmomatic-0.33.jar ... [other stuff]")
I've added a command line parameter to allow customization. I had to, since I'm not using Trimmomatic 0.33 (current version is 0.36) and my install location is different. The path to Trimmomatic jar goes in the $trimmomatic variable, so that the previous line becomes:
system ( "java -jar $trimmomatic ... [other stuff]")
The default value (if not specified from argument) is set to the old hardcoded one, so that compatibility with existing scripts is preserved.