public final class FastaFormat extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.helm.notation2.parser.notation.HELM2Notation |
convertIntoAnalogSequence(org.helm.notation2.parser.notation.HELM2Notation helm2Notation)
method to convert all Peptides and RNAs into the natural analogue
sequence and generates HELM2Notation
|
protected static org.helm.notation2.parser.notation.polymer.PolymerListElements |
generateElementsforRNA(String sequence,
org.helm.notation2.parser.notation.polymer.HELMEntity entity)
method to fill a rna polymer with its elements (MonomerNotationUnits)
|
protected static org.helm.notation2.parser.notation.polymer.PolymerListElements |
generateElementsOfPeptide(String sequence,
org.helm.notation2.parser.notation.polymer.HELMEntity entity)
method to fill a peptide polymer with its elements (MonomerNotationUnits)
|
static String |
generateFasta(org.helm.notation2.parser.notation.HELM2Notation helm2Notation2)
method to generate for the whole HELM2Notation fasta-files, it contains
fasta for all rna and peptides
|
protected static String |
generateFastaFromPeptide(List<Monomer> monomers)
method to generate Fasta for a list of peptide monomers
|
static String |
generateFastaFromPeptidePolymer(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers)
method to generate Fasta for peptide polymers
|
protected static String |
generateFastaFromRNA(List<Monomer> monomers)
method to generate Fasta for a list of rna monomers
|
static String |
generateFastaFromRNAPolymer(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers)
method to generate Fasta for rna polymers
|
static org.helm.notation2.parser.notation.HELM2Notation |
generatePeptidePolymersFromFASTAFormatHELM1(String fasta)
method to read the information from a FastaFile-Format + generate peptide
polymers, be careful, it produces only polymers in the HELM1 standard, no
ambiguity
|
static org.helm.notation2.parser.notation.HELM2Notation |
generateRNAPolymersFromFastaFormatHELM1(String fasta)
method to read the information from a FastaFile-Format + generate RNA
Polymers be careful, it produces only polymers in the HELM1 standard, no
ambiguity
|
static boolean |
isNormalDirection(String sequence)
method to check if the sequence is in normal direction 5' to 3'
|
public static org.helm.notation2.parser.notation.HELM2Notation generatePeptidePolymersFromFASTAFormatHELM1(String fasta) throws FastaFormatException, ChemistryException
fasta - FastaFile in string formatFastaFormatException - if the input is not correctChemistryException - if chemistry engine can not be initializedpublic static org.helm.notation2.parser.notation.HELM2Notation generateRNAPolymersFromFastaFormatHELM1(String fasta) throws FastaFormatException, org.helm.notation2.parser.exceptionparser.NotationException, ChemistryException, NucleotideLoadingException
fasta - FastaFile in string formatFastaFormatException - if the input is not correctorg.helm.notation2.parser.exceptionparser.NotationException - if notation is not validChemistryException - if chemistry engine can not be initializedNucleotideLoadingException - if nucleotides can not be loadedprotected static org.helm.notation2.parser.notation.polymer.PolymerListElements generateElementsOfPeptide(String sequence, org.helm.notation2.parser.notation.polymer.HELMEntity entity) throws FastaFormatException, ChemistryException
sequence - peptide sequenceentity - HELMEntityFastaFormatException - if the input sequence is not correctChemistryException - if chemistry engine can not be initializedprotected static org.helm.notation2.parser.notation.polymer.PolymerListElements generateElementsforRNA(String sequence, org.helm.notation2.parser.notation.polymer.HELMEntity entity) throws FastaFormatException, org.helm.notation2.parser.exceptionparser.NotationException, ChemistryException, NucleotideLoadingException
sequence - rna sequenceentity - HELMEntityFastaFormatException - if the input sequence is not correctorg.helm.notation2.parser.exceptionparser.NotationException - if notation is not validChemistryException - if chemistry engine can not be initializedNucleotideLoadingException - if nucleotides can not be loadedpublic static String generateFastaFromPeptidePolymer(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers) throws FastaFormatException, ChemistryException
polymers - List of peptide PolymerNotationFastaFormatException - if the peptides can not be transformed to FASTAChemistryException - if the Chemistry Engine can not be initializedprotected static String generateFastaFromPeptide(List<Monomer> monomers)
monomers - peptide monomerspublic static String generateFastaFromRNAPolymer(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers) throws FastaFormatException, ChemistryException
polymers - list of rna PolymerNotationFastaFormatException - if the polymers can not be transformed into FASTAChemistryException - if the Chemistry Engine can not be initializedprotected static String generateFastaFromRNA(List<Monomer> monomers)
monomers - list of monomerspublic static String generateFasta(org.helm.notation2.parser.notation.HELM2Notation helm2Notation2) throws FastaFormatException, ChemistryException
helm2Notation2 - HELM2NotationFastaFormatException - if the HELM2Notation can not be transformed to FASTAChemistryException - if the Chemistry Engine can not be initializedpublic static org.helm.notation2.parser.notation.HELM2Notation convertIntoAnalogSequence(org.helm.notation2.parser.notation.HELM2Notation helm2Notation)
throws FastaFormatException,
AnalogSequenceException,
ChemistryException,
org.helm.chemtoolkit.CTKException
helm2Notation - HELM2NotationFastaFormatException - if it can not be converted to analog sequenceAnalogSequenceException - if the natural analogue sequence can not be producedChemistryException - if chemistry engine can not be initializedorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitpublic static boolean isNormalDirection(String sequence)
sequence - rna sequenceCopyright © 2017. All rights reserved.