public final class GeneFeature extends Object implements Iterable<GeneFeature.ReferenceRange>, Comparable<GeneFeature>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneFeature.Deserializer |
static class |
GeneFeature.ReferenceRange |
static class |
GeneFeature.Serializer |
| Constructor and Description |
|---|
GeneFeature(GeneFeature... features) |
GeneFeature(GeneFeature feature,
int leftOffset,
int rightOffset) |
GeneFeature(ReferencePoint referencePoint,
int leftOffset,
int rightOffset) |
GeneFeature(ReferencePoint begin,
ReferencePoint end) |
public static final int GermlinePRegionSize
@Doc(value="P-segment of V gene") public static final GeneFeature VPSegment
@Doc(value="P-segment of J gene") public static final GeneFeature JPSegment
@Doc(value="Left P-segment of D gene") public static final GeneFeature DLeftPSegment
@Doc(value="Right P-segment of D gene") public static final GeneFeature DRightPSegment
@Doc(value="P-segment of V gene to be used as alignment reference") public static final GeneFeature GermlineVPSegment
@Doc(value="P-segment of J gene to be used as alignment reference") public static final GeneFeature GermlineJPSegment
@Doc(value="P-segment of D gene to be used as alignment reference") public static final GeneFeature GermlineDPSegment
@Doc(value="Full V Region; germline") public static final GeneFeature VRegion
@Doc(value="Full V Region with P-segment; to be used as alignment reference") public static final GeneFeature VRegionWithP
@Doc(value="Full V Region in rearranged sequence, e.g. after trimming") public static final GeneFeature VRegionTrimmed
@Doc(value="Full D Region; germline") public static final GeneFeature DRegion
@Doc(value="Full D Region with P-segment; germline; to be used as alignment reference") public static final GeneFeature DRegionWithP
@Doc(value="Full D Region in rearranged sequence, e.g. after trimming; same as DRegionTrimmed") public static final GeneFeature DCDR3Part
@Doc(value="Full D Region in rearranged sequence, e.g. after trimming; same as DCDR3Part") public static final GeneFeature DRegionTrimmed
@Doc(value="Full J Region; germline") public static final GeneFeature JRegion
@Doc(value="Full J Region with P-segment; to be used as alignment reference") public static final GeneFeature JRegionWithP
@Doc(value="Full J Region in rearranged sequence, e.g. after trimming") public static final GeneFeature JRegionTrimmed
@Doc(value="5\'UTR; germline") public static final GeneFeature V5UTRGermline
@Doc(value="5\'UTR in aligned sequence; trimmed") public static final GeneFeature V5UTR
@Doc(value="Part of lider sequence in first exon. The same as ``Exon1``.") public static final GeneFeature L1
@Doc(value="Intron in V region.") public static final GeneFeature VIntron
@Doc(value="Part of lider sequence in second exon.") public static final GeneFeature L2
@Doc(value="``L1`` + ``VIntron`` + ``L2``") public static final GeneFeature VLIntronL
@Doc(value="Framework 1") public static final GeneFeature FR1
@Doc(value="CDR1 (Complementarity determining region 1)") public static final GeneFeature CDR1
@Doc(value="Framework 2") public static final GeneFeature FR2
@Doc(value="CDR2 (Complementarity determining region 2)") public static final GeneFeature CDR2
@Doc(value="Framework 2") public static final GeneFeature FR3
@Doc(value="CDR3 (Complementarity determining region 3). Cys from V region and Phe/Trp from J region included.") public static final GeneFeature CDR3
@Doc(value="CDR3 (Complementarity determining region 3). Cys from V region and Phe/Trp from J region excluded.") public static final GeneFeature ShortCDR3
@Doc(value="Framework 4 (J region after CDR3)") public static final GeneFeature FR4
@Doc(value="Part of V region inside CDR3 (commonly starts from Cys)") public static final GeneFeature VCDR3Part
@Doc(value="Part of J region inside CDR3 (commonly ends with Phe/Trp)") public static final GeneFeature JCDR3Part
@Doc(value="Part of V region inside CDR3 (commonly starts from Cys)") public static final GeneFeature GermlineVCDR3Part
@Doc(value="Part of J region inside CDR3 (commonly ends with Phe/Trp)") public static final GeneFeature GermlineJCDR3Part
@Doc(value="N region between V and D genes; not defined for loci without D genes and for V(D)J rearrangement with unidentified D region.") public static final GeneFeature VDJunction
@Doc(value="N region between V and D genes; not defined for loci without D genes and for V(D)J rearrangement with unidentified D region.") public static final GeneFeature DJJunction
@Doc(value="Region between V and J regions. For loci without D genes - fully composed from non-template nucleotides. May contain D region.") public static final GeneFeature VJJunction
@Doc(value="First exon. The same as ``L1``.") public static final GeneFeature Exon1
@Doc(value="Full second exon of IG/TCR gene.") public static final GeneFeature Exon2
@Doc(value="Second exon of V gene.") public static final GeneFeature VExon2
@Doc(value="Second exon of V gene trimmed. Ends within CDR3 in V(D)J rearrangement.") public static final GeneFeature VExon2Trimmed
@Doc(value="First exon of C Region") public static final GeneFeature CExon1
@Doc(value="Full C region") public static final GeneFeature CRegion
@Doc(value="Full leader sequence") public static final GeneFeature L
@Doc(value="``Exon1`` + ``VExon2``. Common reference feature used in alignments for mRNA data obtained without 5\'RACE.") public static final GeneFeature VTranscriptWithout5UTR
@Doc(value="``V5UTR`` + ``Exon1`` + ``VExon2``. Common reference feature used in alignments for cDNA data obtained using 5\'RACE (that may contain UTRs).") public static final GeneFeature VTranscript
@Doc(value="``{V5UTRBegin:VEnd}``. Common reference feature used in alignments for genomic DNA data.") public static final GeneFeature VGene
@Doc(value="``Exon1`` + ``VExon2``. Common reference feature used in alignments for mRNA data obtained without 5\'RACE. Contains reference for P region.") public static final GeneFeature VTranscriptWithout5UTRWithP
@Doc(value="``V5UTR`` + ``Exon1`` + ``VExon2``. Common reference feature used in alignments for cDNA data obtained using 5\'RACE (that may contain UTRs). Contains reference for P region.") public static final GeneFeature VTranscriptWithP
@Doc(value="``{V5UTRBegin:VEnd}``. Common reference feature used in alignments for genomic DNA data. Contains reference for P region.") public static final GeneFeature VGeneWithP
@Doc(value="First two exons of IG/TCR gene.") public static final GeneFeature VDJTranscriptWithout5UTR
@Doc(value="First two exons with 5\'UTR of IG/TCR gene.") public static final GeneFeature VDJTranscript
@Doc(value="Full V, D, J assembly without 5\'UTR and leader sequence.") public static final GeneFeature VDJRegion
public GeneFeature(GeneFeature... features)
public GeneFeature(ReferencePoint begin, ReferencePoint end)
public GeneFeature(GeneFeature feature, int leftOffset, int rightOffset)
public GeneFeature(ReferencePoint referencePoint, int leftOffset, int rightOffset)
public GeneFeature.ReferenceRange getReferenceRange(int i)
public GeneFeature append(GeneFeature gf)
public int size()
public boolean hasReversedRegions()
public GeneFeature reverse()
public GeneType getGeneType()
public boolean isComposite()
public static GeneFeature intersectionStrict(GeneFeature gf1, GeneFeature gf2)
public static GeneFeature intersection(GeneFeature gf1, GeneFeature gf2)
public static GeneFeature intersection(GeneFeature gf1, GeneFeature gf2, boolean strict)
public ReferencePoint getFirstPoint()
public ReferencePoint getLastPoint()
public boolean contains(GeneFeature geneFeature)
public static ReferencePoint getFrameReference(GeneFeature feature)
feature - gene featurepublic static GeneFeature getCodingGeneFeature(GeneFeature feature)
feature - input gene featurepublic int compareTo(GeneFeature o)
compareTo in interface Comparable<GeneFeature>public Iterator<GeneFeature.ReferenceRange> iterator()
iterator in interface Iterable<GeneFeature.ReferenceRange>public static GeneFeature getRegion(GeneType type)
public static GeneFeature getFeatureByName(String pointName)
public static String getNameByFeature(GeneFeature point)
public static GeneFeature parse(String string)
public static Map<String,GeneFeature> getFeaturesByName()
public static Map<GeneFeature,String> getNameByFeature()
public static String encode(GeneFeature feature)
public static boolean match(GeneFeature.ReferenceRange a, GeneFeature b)
Copyright © 2017. All rights reserved.