Class MarkerSeq
java.lang.Object
org.snpeff.interval.Interval
org.snpeff.interval.Marker
org.snpeff.interval.MarkerSeq
- All Implemented Interfaces:
Serializable, Cloneable, Comparable<Interval>, TxtSerializable
- Direct Known Subclasses:
Exon
-
Field Summary
Fields inherited from class Interval
chromosomeNameOri, end, id, parent, start, strandMinus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApply variantprotected voidApply a change type deletion (update sequence)protected voidApply a change type duplication (update sequence)protected voidApply a change type insertion (update sequence)protected voidApply a change type MNP (update sequence)protected voidApply a change type SNP (update sequence)basesAt(int index, int len) Base in this marker at position 'index' (relative to marker start)basesAtPos(int pos, int len) Base at position 'pos' (genomic coordinates)Perform a shallow cloneGet sequence WARNING: Sequence is always according to coding strand.getSequence(Marker marker) Get sequence intersecting 'marker' WARNING: Sequence is always according to coding strand.booleanDo we have a sequence for this exon?voidserializeParse(MarkerSerializer markerSerializer) Parse a line from a serialized fileserializeSave(MarkerSerializer markerSerializer) Create a string to serialize to a filevoidsetSequence(String sequence) Set sequence WARNING: Sequence is always according to coding strand.toString()Union of two markersMethods inherited from class Marker
adjust, applyDel, applyDup, applyIns, applyMixed, clone, codonTable, compareTo, compareToPos, distance, distanceBases, getParent, getType, idChain, idChain, idChain, includes, intersect, isAdjustIfParentDoesNotInclude, isDeferredAnalysis, isShowWarningIfParentDoesNotInclude, minus, query, query, readTxt, shouldApply, variantEffect, variantEffectNonRefMethods inherited from class Interval
equals, findParent, getChromosome, getChromosomeName, getChromosomeNameOri, getChromosomeNum, getEnd, getGenome, getGenomeName, getId, getStart, getStrand, hashCode, intersects, intersects, intersects, intersects, intersectSize, isCircular, isSameChromo, isStrandMinus, isStrandPlus, isValid, setChromosomeNameOri, setEnd, setId, setParent, setStart, setStrandMinus, shiftCoordinates, size, toStr, toStringAsciiArt, toStrPos
-
Constructor Details
-
MarkerSeq
public MarkerSeq() -
MarkerSeq
-
MarkerSeq
-
-
Method Details
-
apply
-
applyDel
-
applyDup
-
applyIns
-
applyMnp
-
applySnp
-
basesAt
Base in this marker at position 'index' (relative to marker start) -
basesAtPos
Base at position 'pos' (genomic coordinates) -
cloneShallow
Description copied from class:MarkerPerform a shallow clone- Overrides:
cloneShallowin classMarker
-
getSequence
Get sequence WARNING: Sequence is always according to coding strand. E.g. if the strand is negative, the sequence returned by this method is the reverse-WC that you see in the reference genome -
getSequence
-
hasSequence
public boolean hasSequence()Do we have a sequence for this exon? -
serializeParse
Parse a line from a serialized file- Specified by:
serializeParsein interfaceTxtSerializable- Overrides:
serializeParsein classMarker
-
serializeSave
Create a string to serialize to a file- Specified by:
serializeSavein interfaceTxtSerializable- Overrides:
serializeSavein classMarker
-
setSequence
Set sequence WARNING: Sequence is always according to coding strand. So use you should use setSequence( GprSeq.reverseWc( seq ) ) if the marker is in negative strand. -
toString
-
union
-