Package org.snpeff.interval
Class GffMarker
java.lang.Object
org.snpeff.interval.Interval
org.snpeff.interval.Marker
org.snpeff.interval.Custom
org.snpeff.interval.GffMarker
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Interval>,Iterable<KeyValue<String,,String>> TxtSerializable
- Direct Known Subclasses:
Gtf2Marker
An interval intended as a mark
- Author:
- pcingola
- See Also:
-
Field Summary
Fields inherited from class org.snpeff.interval.Interval
chromosomeNameOri, end, id, parent, start, strandMinus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd key value pairstatic booleancanParseLine(String line) Can this line (form a GFF file) be parsed? Note: Returns false for headers, empty lines and lines having less number of fields than expectedprotected Stringprotected BioTypeintgetFrame()getGffParentId(boolean doNotRecurse) String[]Parent can have multiple, comma separated entriesbooleanWhen annotating a VCF file, add fields from this GFFbooleanbooleanIs biotType considered 'protein coding'?iterator()protected voidParse an entry (line) from a GFF fileprotected voidparseAttributes(String attrStr) Parse attributes (key-value pairs) from a line in a GFF fileprotected StringparseId()Obtain or create an IDtoString()Methods inherited from class org.snpeff.interval.Custom
cloneShallow, getLabel, getScore, setLabel, setScore, variantEffectMethods inherited from class org.snpeff.interval.Marker
adjust, apply, applyDel, applyDup, applyIns, applyMixed, clone, codonTable, compareTo, compareToPos, distance, distanceBases, getParent, getType, idChain, idChain, idChain, includes, intersect, isAdjustIfParentDoesNotInclude, isDeferredAnalysis, isShowWarningIfParentDoesNotInclude, minus, query, query, readTxt, serializeParse, serializeSave, shouldApply, union, variantEffectNonRefMethods inherited from class org.snpeff.interval.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, toStrPosMethods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GffMarker
public GffMarker() -
GffMarker
-
GffMarker
-
-
Method Details
-
canParseLine
Can this line (form a GFF file) be parsed? Note: Returns false for headers, empty lines and lines having less number of fields than expected -
add
Add key value pair -
getAttr
-
getBiotype
-
getBioType
-
getBiotypeGeneric
-
getFrame
public int getFrame() -
getGeneBiotype
-
getGeneId
-
getGeneName
-
getGffParentId
-
getGffParentIds
Parent can have multiple, comma separated entries -
getGffType
-
getTranscriptBiotype
-
getTranscriptId
-
getTranscriptVersion
-
hasAnnotations
public boolean hasAnnotations()When annotating a VCF file, add fields from this GFF- Overrides:
hasAnnotationsin classCustom
-
hasAttr
-
isProteingCoding
public boolean isProteingCoding()Is biotType considered 'protein coding'? -
iterator
-
parse
Parse an entry (line) from a GFF file -
parseAttributes
Parse attributes (key-value pairs) from a line in a GFF file -
parseId
Obtain or create an ID -
toString
-