Package org.biojava.bio.seq.io
Class AlignIOConstants
java.lang.Object
org.biojava.bio.seq.io.AlignIOConstants
AlignIOConstants contains constants used to identify
sequence formats, alphabets etc, in the context of reading and
writing alignments.
An int used 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
FieldsModifier and TypeFieldDescriptionstatic final intCLUSTALindicates that the alignment format is Clustal.static final intCLUSTAL_AApremade CLUSTAL | AA;static final intCLUSTAL_DNApremade CLUSTAL | DNA;static final intCLUSTAL_RNApremade CLUSTAL | RNA;static final intFASTAindicates that the alignment format is Fasta.static final intFASTA_AApremade FASTA | AA;static final intFASTA_DNApremade FASTA | DNA;static final intFASTA_RNApremade FASTA | RNA;static final intMSFindicates that the alignment format is MSF.static final intMSF_AApremade MSF | AA;static final intMSF_DNApremade MSF | DNA;static final intMSF_DNApremade MSF | RNA;static final intRAWindicates that the alignment format is raw (symbols only).static final intRAW_AApremade RAW | AA.static final intRAW_DNApremade RAW | DNA.static final intRAW_RNApremade RAW | RNA.static final intUNKNOWNindicates that the alignment format is unknown. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
UNKNOWN
UNKNOWNindicates that the alignment format is unknown.- See Also:
-
RAW
RAWindicates that the alignment format is raw (symbols only).- See Also:
-
FASTA
FASTAindicates that the alignment format is Fasta.- See Also:
-
CLUSTAL
CLUSTALindicates that the alignment format is Clustal.- See Also:
-
MSF
MSFindicates that the alignment format is MSF.- See Also:
-
RAW_DNA
RAW_DNApremade RAW | DNA.- See Also:
-
RAW_RNA
RAW_RNApremade RAW | RNA.- See Also:
-
RAW_AA
RAW_AApremade RAW | AA.- See Also:
-
FASTA_DNA
FASTA_DNApremade FASTA | DNA;- See Also:
-
FASTA_RNA
FASTA_RNApremade FASTA | RNA;- See Also:
-
FASTA_AA
FASTA_AApremade FASTA | AA;- See Also:
-
CLUSTAL_DNA
CLUSTAL_DNApremade CLUSTAL | DNA;- See Also:
-
CLUSTAL_RNA
CLUSTAL_RNApremade CLUSTAL | RNA;- See Also:
-
CLUSTAL_AA
CLUSTAL_AApremade CLUSTAL | AA;- See Also:
-
MSF_DNA
MSF_DNApremade MSF | DNA;- See Also:
-
MSF_RNA
MSF_DNApremade MSF | RNA;- See Also:
-
MSF_AA
MSF_AApremade MSF | AA;- See Also:
-
-
Constructor Details
-
AlignIOConstants
public AlignIOConstants()
-