Package org.biojava.bio.seq.io
Class AlignIOConstants
- java.lang.Object
-
- org.biojava.bio.seq.io.AlignIOConstants
-
public final class AlignIOConstants extends Object
AlignIOConstantscontains constants used to identify sequence formats, alphabets etc, in the context of reading and writing alignments.An
intused to specify symbol alphabet and sequence format type is derived thus:- The two least significant bytes are reserved for format types such as MSF, CLUSTAL etc.
- The two most significant bytes are reserved for alphabet and symbol information such as AMBIGUOUS, DNA, RNA, AA etc.
-
Bitwise OR combinations of each component
intare used to specify combinations of format type and symbol information. To derive anintidentifier for DNA with ambiguity codes in Fasta format, bitwise OR the AMBIGUOUS, DNA and FASTA values.
- Author:
- Keith James
-
-
Field Summary
Fields Modifier and Type Field Description static intCLUSTALCLUSTALindicates that the alignment format is Clustal.static intCLUSTAL_AACLUSTAL_AApremade CLUSTAL | AA;static intCLUSTAL_DNACLUSTAL_DNApremade CLUSTAL | DNA;static intCLUSTAL_RNACLUSTAL_RNApremade CLUSTAL | RNA;static intFASTAFASTAindicates that the alignment format is Fasta.static intFASTA_AAFASTA_AApremade FASTA | AA;static intFASTA_DNAFASTA_DNApremade FASTA | DNA;static intFASTA_RNAFASTA_RNApremade FASTA | RNA;static intMSFMSFindicates that the alignment format is MSF.static intMSF_AAMSF_AApremade MSF | AA;static intMSF_DNAMSF_DNApremade MSF | DNA;static intMSF_RNAMSF_DNApremade MSF | RNA;static intRAWRAWindicates that the alignment format is raw (symbols only).static intRAW_AARAW_AApremade RAW | AA.static intRAW_DNARAW_DNApremade RAW | DNA.static intRAW_RNARAW_RNApremade RAW | RNA.static intUNKNOWNUNKNOWNindicates that the alignment format is unknown.
-
Constructor Summary
Constructors Constructor Description AlignIOConstants()
-
-
-
Field Detail
-
UNKNOWN
public static final int UNKNOWN
UNKNOWNindicates that the alignment format is unknown.- See Also:
- Constant Field Values
-
RAW
public static final int RAW
RAWindicates that the alignment format is raw (symbols only).- See Also:
- Constant Field Values
-
FASTA
public static final int FASTA
FASTAindicates that the alignment format is Fasta.- See Also:
- Constant Field Values
-
CLUSTAL
public static final int CLUSTAL
CLUSTALindicates that the alignment format is Clustal.- See Also:
- Constant Field Values
-
MSF
public static final int MSF
MSFindicates that the alignment format is MSF.- See Also:
- Constant Field Values
-
RAW_DNA
public static final int RAW_DNA
RAW_DNApremade RAW | DNA.- See Also:
- Constant Field Values
-
RAW_RNA
public static final int RAW_RNA
RAW_RNApremade RAW | RNA.- See Also:
- Constant Field Values
-
RAW_AA
public static final int RAW_AA
RAW_AApremade RAW | AA.- See Also:
- Constant Field Values
-
FASTA_DNA
public static final int FASTA_DNA
FASTA_DNApremade FASTA | DNA;- See Also:
- Constant Field Values
-
FASTA_RNA
public static final int FASTA_RNA
FASTA_RNApremade FASTA | RNA;- See Also:
- Constant Field Values
-
FASTA_AA
public static final int FASTA_AA
FASTA_AApremade FASTA | AA;- See Also:
- Constant Field Values
-
CLUSTAL_DNA
public static final int CLUSTAL_DNA
CLUSTAL_DNApremade CLUSTAL | DNA;- See Also:
- Constant Field Values
-
CLUSTAL_RNA
public static final int CLUSTAL_RNA
CLUSTAL_RNApremade CLUSTAL | RNA;- See Also:
- Constant Field Values
-
CLUSTAL_AA
public static final int CLUSTAL_AA
CLUSTAL_AApremade CLUSTAL | AA;- See Also:
- Constant Field Values
-
MSF_DNA
public static final int MSF_DNA
MSF_DNApremade MSF | DNA;- See Also:
- Constant Field Values
-
MSF_RNA
public static final int MSF_RNA
MSF_DNApremade MSF | RNA;- See Also:
- Constant Field Values
-
MSF_AA
public static final int MSF_AA
MSF_AApremade MSF | AA;- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AlignIOConstants
public AlignIOConstants()
-
-