public final class VDJCGene extends PartitionedSequenceCached<com.milaboratory.core.sequence.NucleotideSequence> implements Comparable<VDJCGene>
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_CURRENT_LIBRARY_ATTRIBUTE_KEY
Attribute key used to set current VDJCLibrary during serialization / deserialization.
|
| Constructor and Description |
|---|
VDJCGene(VDJCLibrary parentLibrary,
VDJCGeneData data,
com.milaboratory.core.sequence.provider.SequenceProvider<com.milaboratory.core.sequence.NucleotideSequence> sequenceProvider,
ReferencePoints referencePoints)
Use
VDJCLibrary.addGene(VDJCLibrary, VDJCGeneData) to create instances of this object. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VDJCGene o) |
boolean |
equals(Object o) |
Chains |
getChains()
Returns set of chains (e.g.
|
VDJCGeneData |
getData()
Returns serializable gene data
|
String |
getFamilyName()
Gene family name (e.g.
|
String |
getFullName()
Return full gene name, including library id (e.g.
|
String |
getGeneName()
Name without allele index (e.g.
|
GeneType |
getGeneType()
Returns gene type
|
VDJCGeneId |
getId()
Returns global gene identifier including library id
|
String |
getName()
Returns gene name (e.g.
|
VDJCLibrary |
getParentLibrary()
Returns parent VDJCLibrary
|
ReferencePoints |
getPartitioning()
Returns reference point object for this gene
|
protected com.milaboratory.core.sequence.NucleotideSequence |
getSequence(com.milaboratory.core.Range range) |
com.milaboratory.core.sequence.provider.SequenceProvider<com.milaboratory.core.sequence.NucleotideSequence> |
getSequenceProvider()
Returns sequence provider associated with this gene
|
SequenceProviderAndReferencePoints |
getSPAndRPs()
Returns tuple of
SequenceProvider and ReferencePoints
with useful methods |
int |
hashCode() |
boolean |
isComplete()
Returns whether all reference points for this gene are defined
|
boolean |
isFunctional()
Returns true if this gene marked as functional
|
getFeaturepublic static final String JSON_CURRENT_LIBRARY_ATTRIBUTE_KEY
public VDJCGene(VDJCLibrary parentLibrary, VDJCGeneData data, com.milaboratory.core.sequence.provider.SequenceProvider<com.milaboratory.core.sequence.NucleotideSequence> sequenceProvider, ReferencePoints referencePoints)
VDJCLibrary.addGene(VDJCLibrary, VDJCGeneData) to create instances of this object.public com.milaboratory.core.sequence.provider.SequenceProvider<com.milaboratory.core.sequence.NucleotideSequence> getSequenceProvider()
public VDJCGeneData getData()
public VDJCLibrary getParentLibrary()
public VDJCGeneId getId()
public String getFullName()
public String getName()
public String getGeneName()
public String getFamilyName()
public GeneType getGeneType()
public boolean isFunctional()
public Chains getChains()
public SequenceProviderAndReferencePoints getSPAndRPs()
SequenceProvider and ReferencePoints
with useful methodsSequenceProvider and ReferencePoints
with useful methodsprotected com.milaboratory.core.sequence.NucleotideSequence getSequence(com.milaboratory.core.Range range)
getSequence in class PartitionedSequence<com.milaboratory.core.sequence.NucleotideSequence>public boolean isComplete()
public ReferencePoints getPartitioning()
getPartitioning in class PartitionedSequence<com.milaboratory.core.sequence.NucleotideSequence>public int compareTo(VDJCGene o)
compareTo in interface Comparable<VDJCGene>Copyright © 2017. All rights reserved.