|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object model.Genome
public class Genome
Title: Bioinformatics Project
Description: Genomes Comparacent
Copyright: Copyright (c) 2005-2006
Genome is a class that contains single genome details; name,length,files,..etc.
Field Summary | |
---|---|
private java.lang.String |
anchor
Genome anchor file path. |
private java.lang.String |
Chromosome_num
Genome chromosome number. |
private java.lang.String |
ent
Genome ent file path. |
private java.lang.String |
genome
Genome genome file path. |
private boolean |
isCircular
Genome circularity. |
private long |
length
Genome length. |
private java.lang.String |
name
Genome full name. |
private java.lang.String |
Plasmid_num
Genome plasmid number. |
private java.lang.String |
prop
Genome prop file path. |
private java.lang.String |
protein_gene_num
Genome protein gene number. |
private java.lang.String |
RNA_gene_num
Genome RNA gene number. |
private java.lang.String |
SymbolicName
Genome symbolic(short) name. |
private java.lang.String |
te
Genome te file path. |
private java.lang.String |
ve
Genome ve file path. |
private java.lang.String |
virus
Genome virus file path. |
Constructor Summary | |
---|---|
Genome(java.lang.String path,
java.lang.String GSymbol)
C'tor, imports data from prop file and saves genome files paths. |
Method Summary | |
---|---|
protected long |
checkField(java.lang.String str)
Returns the extracted number, in case it is not a number returns -1. |
java.lang.String |
getAnchor()
returns the genome anchor file path. |
java.lang.String |
getChromosome_num()
returns the genome chromosome gene num. |
java.lang.String |
getEnt()
returns the genome ent file path. |
private java.lang.String |
getFile(java.lang.String[] str,
java.lang.String ext)
Locates the file with the extention ext in the directory list str. |
java.lang.String |
getGenome()
returns the genome ".Genome" file path. |
java.lang.String |
getGenomeName()
returns the genome full name. |
long |
getLength()
returns the genome length(as imported from the prop). |
java.lang.String |
getPlasmid_num()
returns the genome plasmid gene num. |
java.lang.String |
getProp()
returns the genome prop file path. |
java.lang.String |
getProtein_gene_num()
returns the genome Protein gene num. |
java.lang.String |
getRNA_gene_num()
returns the genome RNA gene num. |
java.lang.String |
getSymbolName()
returns the genome symbolic(short) name. |
java.lang.String |
getTE()
returns the genome te file path. |
java.lang.String |
getVe()
returns the genome ve file path. |
java.lang.String |
getVIRUS()
returns the genome virus file path. |
boolean |
isCircular()
returns wether if the genome is circular or not. |
private void |
setGenomeProp(java.lang.String prop)
Imports porp files into local variables. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String anchor
private java.lang.String genome
private java.lang.String ent
private java.lang.String te
private java.lang.String virus
private java.lang.String prop
private java.lang.String ve
private java.lang.String name
private long length
private boolean isCircular
private java.lang.String protein_gene_num
private java.lang.String RNA_gene_num
private java.lang.String Chromosome_num
private java.lang.String Plasmid_num
private java.lang.String SymbolicName
Constructor Detail |
---|
public Genome(java.lang.String path, java.lang.String GSymbol)
path
- String: genome directory path.GSymbol
- String: genome symbolic (short) name, it is also the name of the directory.Method Detail |
---|
private void setGenomeProp(java.lang.String prop)
prop
- String: genome prop file path.protected long checkField(java.lang.String str)
str
- String: given string.
private java.lang.String getFile(java.lang.String[] str, java.lang.String ext)
str
- String[]:directory list.ext
- String: the file suffex.
public java.lang.String getGenomeName()
public java.lang.String getSymbolName()
public java.lang.String getAnchor()
public java.lang.String getGenome()
public java.lang.String getEnt()
public java.lang.String getVe()
public java.lang.String getTE()
public java.lang.String getVIRUS()
public long getLength()
public boolean isCircular()
public java.lang.String getProtein_gene_num()
public java.lang.String getRNA_gene_num()
public java.lang.String getChromosome_num()
public java.lang.String getPlasmid_num()
public java.lang.String getProp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |