public class VDJCLibrary extends Object implements Comparable<VDJCLibrary>
VDJCLibraryRegistry.| Constructor and Description |
|---|
VDJCLibrary(VDJCLibraryData libraryData,
String name,
VDJCLibraryRegistry registry,
Path context) |
| Modifier and Type | Method and Description |
|---|---|
static VDJCGene |
addGene(VDJCLibrary library,
VDJCGeneData geneData)
Creates full featured VDJCGene object from VDJCGene DTO object, and adds it to VDJCLibrary
|
int |
compareTo(VDJCLibrary o) |
VDJCGene |
get(String geneName)
Get gene by name.
|
byte[] |
getChecksum()
Return checksum for this library.
|
List<VDJCLibraryNote> |
getComments()
All comment blocks associated with the library
|
List<VDJCLibraryNote> |
getComments(VDJCLibraryNoteType type)
Return comments of a particular type
|
Path |
getContext()
Returns library context folder
|
VDJCLibraryData |
getData()
Returns serializable library data
|
Collection<VDJCGene> |
getGenes()
Returns collection of all genes in this library
|
Collection<VDJCGene> |
getGenes(Chains chains)
Returns collection of all genes in this library with specific chains
|
Collection<VDJCGene> |
getGenes(Chains chains,
GeneType geneType)
Returns collection of all genes in this library with specific geneType and chains
|
Collection<VDJCGene> |
getGenes(GeneType geneType)
Returns collection of all genes in this library with specific geneType
|
VDJCLibraryId |
getLibraryId()
Returns identifier of this library
|
String |
getName()
Library name
|
VDJCLibraryRegistry |
getParent()
Returns parent registry
|
VDJCGene |
getSafe(String geneName)
Get gene by name.
|
long |
getTaxonId()
Return species (taxon id)
|
public VDJCLibrary(VDJCLibraryData libraryData, String name, VDJCLibraryRegistry registry, Path context)
public byte[] getChecksum()
public VDJCLibraryData getData()
public VDJCLibraryRegistry getParent()
public Path getContext()
public Collection<VDJCGene> getGenes()
public Collection<VDJCGene> getGenes(Chains chains)
public Collection<VDJCGene> getGenes(GeneType geneType)
public Collection<VDJCGene> getGenes(Chains chains, GeneType geneType)
public VDJCGene get(String geneName)
public VDJCGene getSafe(String geneName)
GeneNotFoundException if gene not found.GeneNotFoundExceptionpublic VDJCLibraryId getLibraryId()
public long getTaxonId()
public String getName()
public List<VDJCLibraryNote> getComments()
public List<VDJCLibraryNote> getComments(VDJCLibraryNoteType type)
type - comment typepublic static VDJCGene addGene(VDJCLibrary library, VDJCGeneData geneData)
library - librarygeneData - gene DTOpublic int compareTo(VDJCLibrary o)
compareTo in interface Comparable<VDJCLibrary>Copyright © 2017. All rights reserved.