Uses of Class
org.biojava.nbio.core.exceptions.CompoundNotFoundException
-
-
Uses of CompoundNotFoundException in org.biojava.nbio.core.sequence
Constructors in org.biojava.nbio.core.sequence that throw CompoundNotFoundException Constructor Description BasicSequence(String sequence, CompoundSet<C> compoundSet)ChromosomeSequence(String seqString)String is king and assume DNAChromosomeSequence(String seqString, CompoundSet<NucleotideCompound> compoundSet)Allows the creation of a ChromosomeSequence using String for the sequence with a custom CompoundSetDNASequence(String seqString)String is king and create a sequence from DNA with default DNA compound setDNASequence(String seqString, CompoundSet<NucleotideCompound> compoundSet)Create a sequence from a string with user defined compound setProteinSequence(String seqString)Create a protein from a stringProteinSequence(String seqString, CompoundSet<AminoAcidCompound> compoundSet)Create a protein from a string with a user defined set of amino acidsRNASequence(String seqString)Create a RNA sequence from a StringRNASequence(String seqString, CompoundSet<NucleotideCompound> compoundSet)Create a RNA sequence from a string with a user defined RNA compound set -
Uses of CompoundNotFoundException in org.biojava.nbio.core.sequence.io
Methods in org.biojava.nbio.core.sequence.io that throw CompoundNotFoundException Modifier and Type Method Description AbstractSequence<NucleotideCompound>ABITrace. getSequence()Returns the original programmatically determined (unedited) sequence as aAbstractSequence.AbstractSequence<AminoAcidCompound>CasePreservingProteinSequenceCreator. getSequence(String sequence, long index)AbstractSequence<NucleotideCompound>DNASequenceCreator. getSequence(String sequence, long index)AbstractSequence<NucleotideCompound>FileProxyDNASequenceCreator. getSequence(String sequence, long index)Even though we are passing in the sequence we really only care about the length of the sequence and the offset index in the fasta file.AbstractSequence<AminoAcidCompound>FileProxyProteinSequenceCreator. getSequence(String sequence, long index)Even though we are passing in the sequence we really only care about the length of the sequence and the offset index in the fasta file.AbstractSequence<NucleotideCompound>FileProxyRNASequenceCreator. getSequence(String sequence, long index)Even though we are passing in the sequence we really only care about the length of the sequence and the offset index in the fasta file.AbstractSequence<AminoAcidCompound>ProteinSequenceCreator. getSequence(String sequence, long index)AbstractSequence<NucleotideCompound>RNASequenceCreator. getSequence(String sequence, long index)int[]ABITrace. getTrace(String base)Returns one of the four traces - all of the y-coordinate values, each of which correspond to a single x-coordinate relative to the position in the array, so that if element 4 in the array is 972, then x is 4 and y is 972 for that point.LinkedHashMap<String,S>GenbankReader. process()The parsing is done in this method.
This method will return all the available Genbank records in the File or InputStream, closes the underlying resource, and return the results inLinkedHashMap.
You don't need to callGenbankReader.close()after calling this method.LinkedHashMap<String,S>GenbankReader. process(int max)This method tries to parse maximummaxrecords from the open File or InputStream, and leaves the underlying resource open.
Subsequent calls to the same method continue parsing the rest of the file.
This is particularly useful when dealing with very big data files, (e.g. -
Uses of CompoundNotFoundException in org.biojava.nbio.core.sequence.io.template
Methods in org.biojava.nbio.core.sequence.io.template that throw CompoundNotFoundException Modifier and Type Method Description AbstractSequence<C>SequenceCreatorInterface. getSequence(String sequence, long index) -
Uses of CompoundNotFoundException in org.biojava.nbio.core.sequence.loader
Methods in org.biojava.nbio.core.sequence.loader that throw CompoundNotFoundException Modifier and Type Method Description voidSequenceFileProxyLoader. setContents(String sequence)voidStringProxySequenceReader. setContents(String sequence)voidStringProxySequenceReader. setContents(String sequence, ArrayList features)voidUniprotProxySequenceReader. setContents(String sequence)Once the sequence is retrieved set the contents and make sure everything this is valid Some uniprot records contain white space in the sequence.Constructors in org.biojava.nbio.core.sequence.loader that throw CompoundNotFoundException Constructor Description GenbankProxySequenceReader(String genbankDirectoryCache, String accessionID, CompoundSet<C> compoundSet)SequenceFileProxyLoader(File file, SequenceParserInterface sequenceParser, long sequenceStartIndex, int sequenceLength, CompoundSet<C> compoundSet)StringProxySequenceReader(String sequence, CompoundSet<C> compoundSet)UniprotProxySequenceReader(String accession, CompoundSet<C> compoundSet)The UniProt id is used to retrieve the UniProt XML which is then parsed as a DOM object so we know everything about the protein.UniprotProxySequenceReader(Document document, CompoundSet<C> compoundSet)The xml is passed in as a DOM object so we know everything about the protein. -
Uses of CompoundNotFoundException in org.biojava.nbio.core.sequence.storage
Methods in org.biojava.nbio.core.sequence.storage that throw CompoundNotFoundException Modifier and Type Method Description voidArrayListSequenceReader. setContents(String sequence)voidBitSequenceReader. setContents(String sequence)Class is immutable & so this is unsupportedvoidJoiningSequenceReader. setContents(String sequence)voidSingleCompoundSequenceReader. setContents(String sequence)UnsupportedConstructors in org.biojava.nbio.core.sequence.storage that throw CompoundNotFoundException Constructor Description ArrayListSequenceReader(String sequence, CompoundSet<C> compoundSet) -
Uses of CompoundNotFoundException in org.biojava.nbio.core.sequence.template
Methods in org.biojava.nbio.core.sequence.template that throw CompoundNotFoundException Modifier and Type Method Description voidSequenceReader. setContents(String sequence)Constructors in org.biojava.nbio.core.sequence.template that throw CompoundNotFoundException Constructor Description AbstractSequence(String seqString, CompoundSet<C> compoundSet)Create a Sequence from a simple string where the values should be found in compoundSet -
Uses of CompoundNotFoundException in org.biojava.nbio.core.sequence.views
Methods in org.biojava.nbio.core.sequence.views that throw CompoundNotFoundException Modifier and Type Method Description voidRnaSequenceView. setContents(String sequence) -
Uses of CompoundNotFoundException in org.biojava.nbio.core.util
Methods in org.biojava.nbio.core.util that throw CompoundNotFoundException Modifier and Type Method Description Sequence<?>SequenceTools. getSequenceFromString(String sequence)Attempts to parse String as a DNA sequence first.
If this fails it tries to parse as a ProteinSequence.
-