
org.campagnelab.dl.somatic.tools.SplitArguments Maven / Gradle / Ivy
package org.campagnelab.dl.somatic.tools;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
import org.campagnelab.dl.framework.tools.arguments.ToolArguments;
import java.util.List;
/**
* Created by fac2003 on 9/2/16.
*/
@Parameters(commandDescription = "Split a file into several components.")
public class SplitArguments implements ToolArguments {
@Parameter(required = true, names = {"-i", "--input-file"}, description = "Input file in .bsi/.bsip format.")
public String inputFile;
@Parameter(required = true, names = {"-f", "--fraction"}, description = "Fraction of the input file to put in a destination Fractions will be normalized before use so you" +
"may use -f 0.3 and -f 0.7 or -f 70 and -f 30.")
List fractions;
@Parameter(required=true, names = {"-s", "--suffix"}, description = "Suffix that will be added to filename for this fraction.")
List suffixes;
@Parameter(required=true, names = {"-o", "--output-prefix"}, description = "Prefix for the output filenames.")
public String outputFile;
@Parameter(required=false, names = {"-n", "--write-n"}, description = "Write at most n records.")
public long writeN=Long.MAX_VALUE;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy