public class DAEnsemblDNASequenceReader extends Object implements EnsemblDNASequenceReader
Modifier and Type | Class and Description |
---|---|
static class |
DAEnsemblDNASequenceReader.EmptyIterator<NucleotideCompound> |
Modifier and Type | Field and Description |
---|---|
protected EnsemblDNACompoundSet |
compoundSet |
protected Integer |
coordSystemID |
protected DADNASequence |
dASequence |
protected DAOCoreFactory |
factory |
protected Integer |
length |
protected String |
name |
protected DADNASequence |
parent |
protected Integer |
seqRegionID |
protected String |
sequence |
Constructor and Description |
---|
DAEnsemblDNASequenceReader() |
DAEnsemblDNASequenceReader(Integer coordSystemID,
Integer seqRegionID,
Integer length,
String name,
DAOCoreFactory factory) |
protected EnsemblDNACompoundSet compoundSet
protected DADNASequence dASequence
protected Integer coordSystemID
protected Integer seqRegionID
protected DAOCoreFactory factory
protected DADNASequence parent
public DAEnsemblDNASequenceReader()
public DAEnsemblDNASequenceReader(Integer coordSystemID, Integer seqRegionID, Integer length, String name, DAOCoreFactory factory)
public DADNASequence getParent()
public void setParent(DADNASequence parent)
public DAOCoreFactory getFactory()
public void setFactory(DAOCoreFactory factory)
public String getName()
getName
in interface EnsemblDNASequenceReader
public void setName(String name)
setName
in interface EnsemblDNASequenceReader
public Integer getCoordSystemID()
getCoordSystemID
in interface EnsemblDNASequenceReader
public void setCoordSystemID(Integer coordSystemID)
setCoordSystemID
in interface EnsemblDNASequenceReader
public int getLength()
getLength
in interface Sequence<NucleotideCompound>
public Integer getLengthInteger()
getLengthInteger
in interface EnsemblDNASequenceReader
public void setLength(Integer length)
setLength
in interface EnsemblDNASequenceReader
public Integer getSeqRegionID()
getSeqRegionID
in interface EnsemblDNASequenceReader
public void setSeqRegionID(Integer seqRegionID)
setSeqRegionID
in interface EnsemblDNASequenceReader
public void setCompoundSet(CompoundSet compoundSet)
setCompoundSet
in interface SequenceReader<NucleotideCompound>
public void setContents(String sequence)
setContents
in interface SequenceReader<NucleotideCompound>
public NucleotideCompound getCompoundAt(int position)
getCompoundAt
in interface Sequence<NucleotideCompound>
public int getIndexOf(NucleotideCompound compound)
getIndexOf
in interface Sequence<NucleotideCompound>
public int getLastIndexOf(NucleotideCompound compound)
getLastIndexOf
in interface Sequence<NucleotideCompound>
public String getSequenceAsString()
getSequenceAsString
in interface Sequence<NucleotideCompound>
public String getSequenceAsString(Integer start, Integer end, Strand strand)
public String getReverseComplementSequenceAsString(Integer start, Integer end)
getReverseComplementSequenceAsString
in interface EnsemblDNASequenceReader
public List<NucleotideCompound> getAsList()
getAsList
in interface Sequence<NucleotideCompound>
public SequenceView<NucleotideCompound> getSubSequence(Integer start, Integer end)
getSubSequence
in interface Sequence<NucleotideCompound>
public CompoundSet<NucleotideCompound> getCompoundSet()
getCompoundSet
in interface Sequence<NucleotideCompound>
public AccessionID getAccession()
getAccession
in interface Accessioned
public int countCompounds(NucleotideCompound... compounds)
countCompounds
in interface Sequence<NucleotideCompound>
public Iterator<NucleotideCompound> iterator()
iterator
in interface Iterable<NucleotideCompound>
public SequenceView<NucleotideCompound> getInverse()
getInverse
in interface Sequence<NucleotideCompound>
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3