finalStringtags=options.getOption("-t4"+cName.toLowerCase(),"tags4"+cName.toLowerCase(),"Tags for "+cName+" id parsing (must set to activate id parsing)","").trim();
finalbooleanfunctionalClassification=!options.getOption("-nf","noFun","Turn off functional classifications for provided mapping files (set this when using GFF files for DNA references)",false);
@@ -139,10 +150,11 @@ public class MaltBuild {
finalbooleansaveFirstWordOfReferenceHeaderOnly=options.getOption("-fwo","firstWordOnly","Save only first word of reference header",false);
finalintrandomSeed=options.getOption("rns","random","Random number generator seed",666);
//final boolean buildTableInMemory = options.getOption("btm", "buildTableInMemory", "Build the hash table in memory and then save (more memory, much faster)", true);
finalbooleanbuildTableInMemory=true;// don't make this an option because it is really slow...
finalbooleanbuildTableInMemory=options.getOption("btm","buildTableInMemory","Build the hash table in memory and then save (uses more memory, is much faster)",true);
finalbooleandoBuildTables=!options.getOption("!xX","xSkipTable","Don't recompute index and tables, just compute profile support",false);
finalbooleanlookInside=options.getOption("-ex","extraStrict","When given an input directory, look inside every GFF file to check that it is indeed in GFF3 format",false);
options.done();
Basic.setDebugMode(options.isVerbose());
@@ -164,20 +176,7 @@ public class MaltBuild {
}
}
if(gffFiles.size()==1){
finalFilefile=newFile(gffFiles.get(0));
if(file.isDirectory()){
System.err.println("Looking for GFF files in directory: "+file);
ReadMagnitudeParser.setEnabled(options.getOption("mag","magnitudes","Reads have magnitudes (to be used in taxonomic or functional analysis)",false));
maltOptions.setContaminantsFile(ProgramProperties.getIfEnabled("enable-contaminants",options.getOption("-cf","conFile","File of contaminant taxa (one Id or name per line)","")));
maltOptions.setContaminantsFile(options.getOption("-cf","conFile","File of contaminant taxa (one Id or name per line)",""));
options.comment("Heuristics:");
maltOptions.setMaxSeedsPerOffsetPerFrame(options.getOption("spf","maxSeedsPerFrame","Maximum number of seed matches per offset per read frame",maltOptions.getMaxSeedsPerOffsetPerFrame()));