public class FastaParametersInputBean extends Object
Constructor and Description |
---|
FastaParametersInputBean(org.apache.commons.cli.CommandLine aLine,
File fastaFile)
Parses all the arguments from a command line.
|
Modifier and Type | Method and Description |
---|---|
FastaParameters |
getFastaParameters()
Returns the fasta parameters as parsed from the command line.
|
static boolean |
isValidStartup(org.apache.commons.cli.CommandLine aLine)
Verifies the command line start parameters.
|
public FastaParametersInputBean(org.apache.commons.cli.CommandLine aLine, File fastaFile) throws IOException
aLine
- the command linefastaFile
- the fasta file to infer the parameters from if not
provided in the command line argumentsIOException
- if an error occurs while reading or writing a file.public static boolean isValidStartup(org.apache.commons.cli.CommandLine aLine)
aLine
- the command line to validatepublic FastaParameters getFastaParameters()
Copyright © 2018. All rights reserved.