| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
DEFAULT_ALPHABET |
(package private) static int |
DEFAULT_LINE_WIDTH |
(package private) static String |
DESCRIPTION_LINE |
| Constructor and Description |
|---|
ExtractFasta(File inputFastaFile,
File outputFastaFile,
String name,
String description,
int lineWidth)
Extract matching DNA or protein sequences in FASTA format.
|
ExtractFasta(File inputFastaFile,
File outputFastaFile,
String name,
String description,
String alphabet,
int lineWidth)
Extract matching DNA or protein sequences in FASTA format.
|
ExtractFasta(Path inputFastaPath,
File outputFastaFile,
String name,
String description,
int lineWidth)
Extract matching DNA or protein sequences in FASTA format.
|
ExtractFasta(Path inputFastaPath,
File outputFastaFile,
String name,
String description,
String alphabet,
int lineWidth)
Extract matching DNA or protein sequences in FASTA format.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
call() |
(package private) static String |
describeSequence(org.biojava.bio.seq.Sequence sequence) |
(package private) boolean |
isProteinAlphabet() |
static void |
main(String[] args)
Main.
|
(package private) static void |
writeSequence(org.biojava.bio.seq.Sequence sequence,
int lineWidth,
PrintWriter writer) |
static final String DEFAULT_ALPHABET
static final int DEFAULT_LINE_WIDTH
static final String DESCRIPTION_LINE
public ExtractFasta(File inputFastaFile, File outputFastaFile, String name, String description, int lineWidth)
inputFastaFile - input FASTA file, if anyoutputFastaFile - output FASTA file, if anyname - exact sequence name to match, if anydescription - FASTA description line regex pattern to match, if anylineWidth - line widthpublic ExtractFasta(Path inputFastaPath, File outputFastaFile, String name, String description, int lineWidth)
inputFastaPath - input FASTA path, if anyoutputFastaFile - output FASTA file, if anyname - exact sequence name to match, if anydescription - FASTA description line regex pattern to match, if anylineWidth - line widthpublic ExtractFasta(File inputFastaFile, File outputFastaFile, String name, String description, String alphabet, int lineWidth)
inputFastaFile - input FASTA file, if anyoutputFastaFile - output FASTA file, if anyname - exact sequence name to match, if anydescription - FASTA description line regex pattern to match, if anyalphabet - input FASTA file alphabet { dna, protein }, if anylineWidth - line widthpublic ExtractFasta(Path inputFastaPath, File outputFastaFile, String name, String description, String alphabet, int lineWidth)
inputFastaPath - input FASTA path, if anyoutputFastaFile - output FASTA file, if anyname - exact sequence name to match, if anydescription - FASTA description line regex pattern to match, if anyalphabet - input FASTA file alphabet { dna, protein }, if anylineWidth - line widthboolean isProteinAlphabet()
static String describeSequence(org.biojava.bio.seq.Sequence sequence)
static void writeSequence(org.biojava.bio.seq.Sequence sequence,
int lineWidth,
PrintWriter writer)
throws IOException
IOExceptionpublic static void main(String[] args)
args - command line argsCopyright (c) 2013-2023 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).