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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 entriesgetTags()booleanWhen annotating a VCF file, add fields from this GFFbooleanbooleanisMultipleValues(String key) Does the key have mutiple valuesbooleanIs 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
-
Field Details
-
MULTIPLE_VALUES_SEPARATOR
- See Also:
-
FIELD_BIOTYPE
- See Also:
-
FIELD_DB_XREF
- See Also:
-
FIELD_EXON_ID
- See Also:
-
FIELD_GENE
- See Also:
-
FIELD_GENE_BIOTYPE
- See Also:
-
FIELD_GENE_ID
- See Also:
-
FIELD_GENE_NAME
- See Also:
-
FIELD_GENE_TYPE
- See Also:
-
FIELD_ID
- See Also:
-
FIELD_NAME
- See Also:
-
FIELD_NAMEU
- See Also:
-
FIELD_PARENT
- See Also:
-
FIELD_PROTEIN_ID
- See Also:
-
FIELD_TAG
- See Also:
-
FIELD_TRANSCRIPT_ID
- See Also:
-
FIELD_TRANSCRIPT_TSL
- See Also:
-
FIELD_TRANSCRIPT_VERSION
- See Also:
-
-
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
-
getProteinId
-
getTranscriptBiotype
-
getTags
-
getTranscriptTsl
-
getTranscriptId
-
getTranscriptVersion
-
hasAnnotations
public boolean hasAnnotations()When annotating a VCF file, add fields from this GFF- Overrides:
hasAnnotationsin classCustom
-
hasAttr
-
isMultipleValues
Does the key have mutiple values -
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
-