|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
|
+--org.blueprint.seqhound.SeqHound
This class provides a remote interface to the SeqHound database. It provides a core set of functionality for obtaining bioinformatics data using alphanumeric keys such as the taxonomy id, gene info identifier, accession number, and various other identifiers.
Field Summary | |
static int |
REPORT_ASN_TXT used by SHoundProteinReportSetDescription to specify the 'format' field. |
static int |
REPORT_XML used by SHoundProteinReportSetDescription to specify the 'format' field. |
int |
SEQHOUND_ABNORMAL Possible error codes returned by this API. |
int |
SEQHOUND_ERROR Possible error codes returned by this API. |
int |
SEQHOUND_NULL Possible error codes returned by this API. |
int |
SEQHOUND_OK Possible error codes returned by this API. |
Constructor Summary | |
SeqHound() Creates a SeqHound object and uses the default configuration file '.shoundremrc' and default log threshold 'INFO'. |
|
SeqHound(java.lang.String config) Creates a SeqHound object and using the specified configuration file and the default log threshold 'INFO'. |
|
SeqHound(java.lang.String config,
java.lang.String logThreshold) Creates a SeqHound object using the specified configuration file and minimum level for logging. |
Method Summary | |
protected
int |
_ParseError(java.lang.String content) determines whether seqhound server returned SEQHOUND_OK, SEQHOUND_ERROR, or SEQHOUND_NULL and returns the server response, else returns SEQHOUND_ABNORMAL. |
protected
java.lang.String |
GetFunctionCall(java.lang.String func,
java.lang.String args) Constructs the http call to seqrem. |
protected
int |
ProcessContents(java.lang.String address,
java.lang.StringBuffer result) takes a url address: http://server address/path to cgi? |
protected
int |
ProcessContents(java.lang.String address,
java.io.Writer out) takes a url address: http://server address/path to cgi? |
java.util.Hashtable |
ProcessRetStr(java.util.Hashtable h,
java.lang.String str) Process the return string from server to a hashtable |
void |
setLogThreshold(java.lang.String minium) Set the threshold for logging. |
int |
SHound3DbWhat(int mmdbid) Finds out what kind of molecules are contained in a 3-D structure. |
boolean |
SHound3DExists(int mmdbid) Finds out whether a given structural ID (mmdbid) exists in the SeqHound database. |
int |
SHound3DFromGi(int gi) Get the MMDB identifier for a given gi |
int[] |
SHound3DFromGiList(int[] giList) Get an array of MMDB identifiers for a given gi array |
int[] |
SHound3DNeighboursFromGi(int gi,
double eValue) Retrieves a list of protein BLAST neighbours possessing 3-D structure. |
int[] |
SHound3DNeighboursFromTaxID(int taxid,
double eValue) Retrieves a list of protein BLAST neighbours possessing 3-D structure using a list of proteins belonging to a complete genome as a query. |
java.lang.String |
SHoundAccFromGi(int gi) Gets an accession value given a gi value. |
java.lang.String[] |
SHoundAccFromGiList(int[] giList) Retrieves a list of accession given a list of gi's |
int[] |
SHoundAllGenomes() Get an array of taxonomy identifiers for all complete genomes present in the SeqHound system. |
java.lang.String[] |
SHoundCDDIDFromGi(int gi) retrieves the domains for a specified gi. |
java.lang.String[] |
SHoundCDDIDFromGiList(int[] giList) retrieve the domain identifiers for a specified gi array |
float |
SHoundCDDScoreFromGi(int gi,
java.lang.String cddid) Get the score for a Conserved domain database domain |
int[] |
SHoundChromosomeFromGenome(int taxid,
int chromflags) Get all the chromosomes for a given taxonomy identifier and the molecule |
int[] |
SHoundChromosomeFromGenomeList(int[] taxList,
int chromflags) Gets an array of chromosome identifiers for a given taxonomy list |
int[] |
SHoundDNAFromChromosome(int chromid) Get an array of dna gi's for a given chromosome identifier |
int[] |
SHoundDNAFromChromosomeList(int[] chromList) Get an array of dna gi's for an input of chromosome array |
int[] |
SHoundDNAFromOrganism(int taxid,
int chromflags) Get an array of dna gi's for a given organism |
int[] |
SHoundDNAFromOrganismList(int[] taxList,
int chromflags) Get an array of dna gi's for a given taxonomy array |
int |
SHoundDNAFromProtein(int gi) Get the dna gi fro a given gi |
int[] |
SHoundDNAFromProteinList(int[] giList) Get an array of dna gi for a given array of gi |
int[] |
SHoundDNAFromTaxID(int taxid) Get the DNA gi's for a given taxonomy id |
int[] |
SHoundDNAFromTaxIDIII(int taxid) Get the dna gi's for a given taxid. |
int[] |
SHoundDNAFromTaxIDList(int[] taxList) get an array of dna gi's for an array of taxonomy identifiers |
boolean |
SHoundExists(int gi) reports whether a given gi exists in the SeqHound database. |
int |
SHoundFindAcc(java.lang.String acc) Retrieves a gi from an accession value. |
int[] |
SHoundFindAccList(java.lang.String[] accList) Retrieves a list of gi's given a list of accession values. |
int |
SHoundFindName(java.lang.String name) Converts PDB, EMBL, Siwss-Prot, PIR sequence identifier into a GI. |
int[] |
SHoundFindNameList(java.lang.String[] nameList) Given a list of ID from PDB, SwissProt, or PIR sequence identifiers, retrieves a list of gi's. |
boolean |
SHoundFini() Clean up SeqHound |
int |
SHoundFirstOfRedundantGroupFromID(int group) Entrez collection of databases contains redundant entries i.e. |
int[] |
SHoundFirstOfRedundantGroupFromIDList(int[] group) Gets the gi of the best annotated sequence given an array of group id. |
java.lang.String |
SHoundGet3D(int mmdbid) Fetches ASN.1 representation of 3-D structure called Biostruc. |
java.lang.String |
SHoundGet3DfromPdbId(java.lang.String pdbid) Fetches ASN.1 representation of 3-D structure called Biostruc. |
java.lang.String |
SHoundGetAccFromRetiredGi(int gi) Returns accession number for the given retired gi. |
int[] |
SHoundGetAllTaxAncestors(int taxid) Retrieves all taxid (the whole subtree) above a given taxid |
int[] |
SHoundGetAllTaxProgeny(int taxid) operates on NCBI's taxonomy tree. |
java.lang.String |
SHoundGetBioseq(int gi) fetches a string formated in ASN representing a sequence information. |
java.lang.String |
SHoundGetBioseqList(int[] giList) Get a list of ASN.1 formatted sequence information and available annotations. |
java.lang.String |
SHoundGetBioseqSet(int gi) retrieves the fetches ASN.1 representation of a sequence called BioseqSet. |
java.lang.String |
SHoundGetBioseqSetList(int[] giList) retrieves a string contain the bioseqset for a list of gi's |
java.lang.String |
SHoundGetDefline(int gi) Defline contains the gi, accession number and other valuable information together with a short description of the sequence |
java.lang.String[] |
SHoundGetDeflineList(int[] giList) retrieves a list of defline lines |
java.lang.String[] |
SHoundGetDomainIdFromLabel(java.lang.String label) retrieves the domain id given a label |
java.lang.String[] |
SHoundGetDomainLabelFromDomainId(java.lang.String accession) Returns a short non-unique label given a domain for a Conserved Domain Database (CDD). |
java.lang.String |
SHoundGetDomainsFromGi(int gi) Fetches information about domains from the Conserved Domain Database (CDD) as assigned by Reverse Position Specific BLAST to a given protein sequence. |
java.lang.String |
SHoundGetDomainsFromGiWithEvalue(int gi,
double eValue) Fetches information about domains from the Conserved Domain Database (CDD) as assigned by Reverse Position Specific BLAST to a given protein sequence. |
java.lang.String |
SHoundGetFasta(int gi) The FASTA format is widely used in bioinformatics community; it consists of a definition line, new line followed by a sequence terminated by a second new line. |
java.lang.String |
SHoundGetFastaFromRedundantGroupID(int gid) The FASTA format is widely used in bioinformatics community; it consists of a definition line, new line followed by a sequence terminated by a second new line. |
java.util.Hashtable |
SHoundGetFastaFromRedundantGroupIDKeyedList(int[] gidList) retrieves fasta list for the given redundant group id list |
java.util.Hashtable |
SHoundGetFastaKeyedList(int[] giList) retrieves fasta list for the given gilist |
java.lang.String[] |
SHoundGetFastaList(int[] giList) retrieves a list of fasta |
boolean |
SHoundGetFastaList(int[] giList,
java.io.Writer out) writes a series of fasta data into a writer object pointed to by out. |
java.lang.String |
SHoundGetGenBankff(int gi) GenBank flat file contains comprehensive full annotation of a sequence. |
java.lang.String[] |
SHoundGetGenBankffList(int[] giList) retrieves an array of strings formated in genbank ff. |
int[] |
SHoundGetGisByDomainId(java.lang.String domain) retrieve the gi's having a domain id |
int[] |
SHoundGetGisByDomainIdAndEvalue(java.lang.String domain,
double evalue) Fetches protein sequences on which a domain from the Conserved Domain Database (CDD) was identified by Reverse Position Specific BLAST. |
int[] |
SHoundGetGisByNumberOfDomains(int numdoms) retrieves all the gi's with the specified number of domains |
int |
SHoundGetLargestMMDBID() return the largest mmdbid |
java.lang.String |
SHoundGetPDB3D(int mmdbid) Retrieves an PDB representation of a 3-D structure |
int[] |
SHoundGetReferenceIDFromGi(int gi,
int reftype) Retrieves the MUID or PMID for a given gi. |
int[] |
SHoundGetReferenceIDFromGiList(int[] giList,
int reftype) Retrieves the MUID or PMID for a given gi. |
java.lang.String |
SHoundGetSeqEntry(int gi) Fetches ASN.1 representation of a sequence called SeqEntry. |
java.lang.String |
SHoundGetSeqEntryList(int[] giList) Retrieves a list of seqentry from a list of gi |
int[] |
SHoundGetTaxChildNodes(int taxid) operates on NCBI's taxonomy tree. |
int[] |
SHoundGetTaxChildNodesList(int[] taxList) Get the children taxonomy id of an array of taxid inputs |
java.lang.String |
SHoundGetTaxLineageFromTaxID(int taxid,
java.lang.String type) fetches a taxonomy lineage in a specified form. |
java.lang.String |
SHoundGetTaxNameFromTaxID(int taxid) fetches a taxonomy name in scientific form |
java.lang.String |
SHoundGetTaxNameFromTaxIDByClass(int taxid,
java.lang.String nameClass) gets a taxon name in a specified style |
int |
SHoundGetTaxParent(int taxid) Retrieve the tax id situated directly above a given tax id |
java.lang.String |
SHoundGetXML3D(int mmdbid) Retrieves an XML representation of a 3-D structure |
java.lang.String |
SHoundGetXMLBioseq(int gi) Get an XML Formated Bioseq structure which contains sequence information and all available annotations. |
java.lang.String |
SHoundGetXMLSeqEntry(int gi) retrieves the a XML formated string of a seqentry |
int[] |
SHoundGiFrom3D(int mmdbid,
boolean ProteinOnly) retrieves the gi given a mmdbid |
int[] |
SHoundGiFrom3DList(int[] mmdbidList,
boolean ProteinOnly) retrieve an array of gi's from the MMDB identifiers |
int[] |
SHoundGiFromCDDID(java.lang.String cddid) retrieves an array of gi with the domain specified by input |
int[] |
SHoundGiFromCDDIDList(java.lang.String[] cddidList) get the gi's with the specified domains |
int[] |
SHoundGiFromGOID(int go) retrieves an array of gi with specified the specified gene ontology identifier |
int[] |
SHoundGiFromGOIDAndECode(int goid,
java.lang.String ecode) Return all the gi's with the given goid and evidence code. |
int[] |
SHoundGiFromGOIDList(int[] goList) retrieves an array of gis that have been annotated with the specified goid |
int[] |
SHoundGiFromGOIDListAndECode(int[] goList,
java.lang.String ecode) retrieves an array of gis that have been annotated with the specified goid list and the evidence code |
int[] |
SHoundGiFromLLID(int llid) Get gi associated with a locuslink identifier |
int[] |
SHoundGiFromLLIDList(int[] llidList) get the gi's associated with the locuslink id |
int[] |
SHoundGiFromOMIM(int omimid) retrieves gi's from an omim |
int[] |
SHoundGiFromOMIMList(int[] omimList) retrieves gi's associated with a omim |
int |
SHoundGiFromPDBchain(java.lang.String pdbcode,
java.lang.String chain) retrieve an array of gi's from the PDB identifiers |
int[] |
SHoundGiFromReferenceID(int refid,
int reftype) Retrieves the gi's associated with a publication. |
int[] |
SHoundGiFromReferenceList(int[] refList,
int reftype) Retrieves the gi's associated with a publication list. |
int[] |
SHoundGODBGetAllAncestors(int goid) retrieves all the ancestors (parents, grandparents ...) of a given gene ontology id. |
int[] |
SHoundGODBGetAllChildren(int goid) retrieve all children of a given gene ontology id |
int[] |
SHoundGODBGetChildrenOf(int goid) retrieves all the children of a given gene ontology id |
java.lang.String |
SHoundGODBGetClassification(int goid) retrieve the ontology classification for a given goid |
java.lang.String |
SHoundGODBGetNameByID(int goid) retrieves the name of a given goid |
int[] |
SHoundGODBGetParentOf(int goid) retrieves an array of the parents of a given goid |
int[] |
SHoundGODBGetRecordByReference(java.lang.String refType) retrieve the gene ontology id by geneontology reference type |
java.lang.String[] |
SHoundGOECodeFromGiAndGOID(int gi,
int goid) Retrieves all the evidence code from locuslink for a given gi and gene ontology id. |
int[] |
SHoundGOIDFromGi(int gi) retrieves an array of goid for a specified gi |
int[] |
SHoundGOIDFromGiList(int[] giList) retrieves an array of goid for a specified array of gi's |
int[] |
SHoundGOIDFromRedundantGi(int gi) retrieve an array of goid from a redundant gi |
int[] |
SHoundGOIDFromRedundantGiList(int[] giList) retrieve an array of goid for a given array of gi's |
int[] |
SHoundGOPMIDFromGiAndGOID(int gi,
int goid) Retrieves the PMID's in the LocusLink database for a given gi and gene ontology id. |
boolean |
SHoundInit(boolean NetEntrezOnToo,
java.lang.String appname) Initializes the SeqHound object. |
boolean |
SHoundIsInited() Check if SeqHound has been initialized. |
boolean |
SHoundIsNetEntrezOn() Checks if net entrez is enabled. |
boolean |
SHoundIsNRFirst(int gi) Reports if a given GI identifier represents the best annotated version from a group of database entries referring to the same protein sequence (so called redundant proteins). |
boolean |
SHoundIsProtein(int gi) Deprecated. replaced by SHoundMoleculeType(int) |
protected
boolean |
SHoundIsServerAlive(java.lang.String configServerKey,
java.lang.String path,
java.lang.String args) Sends an http call to the servers to determine if they are up. |
boolean |
SHoundIsTaxDeleted(int taxid) reports whether a taxid has been deleted from the tree |
boolean |
SHoundIsTaxMerged(int taxid) reports if a given taxonomy identifier has been renamed |
int[] |
SHoundLLIDFromGi(int gi) retrieves locuslink id for a given gi |
int[] |
SHoundLLIDFromGiList(int[] giList) retrievs locuslink id for a given gi array |
java.lang.String |
SHoundLocusFromGi(int gi) retrieves the locus for a given gi |
protected
void |
SHoundLogError(java.util.logging.Level level,
java.lang.String msg) Logs information/error into the log file. |
java.lang.String |
SHoundMoleculeType(int gi) determines the molecular type given a gi |
int[] |
SHoundMuidFrom3D(int mmdbid) Get the MUID for a given MMDB identifier |
int[] |
SHoundMuidFrom3DList(int[] giList) Get the MUID list for a given gi array |
int[] |
SHoundMuidFromGi(int gi) Deprecated. replaced by SHoundGetReferenceIDFromGi(int,
int) |
int[] |
SHoundMuidFromGiList(int[] giList) Deprecated. replaced by SHoundGetReferenceIDFromGiList(int[],
int) |
int[] |
SHoundNeighboursFromGi(int gi,
double eValue, boolean bLimit) Retrieves a list of protein BLAST neighbours. |
int[] |
SHoundNeighboursFromGiList(int[] giList,
double eValue, boolean bLimit) Retrieves a list of protein BLAST neighbours. |
int[] |
SHoundNeighboursFromTaxID(int taxid,
double eValue) Retrieves a list of protein BLAST neighbours using a list of proteins belonging to a complete genome as a query. |
boolean |
SHoundNetEntrezInit(java.lang.String appname) Initializes net entrez. |
int[] |
SHoundOMIMFromGi(int gi) retrieves omim associated with a gi |
int[] |
SHoundOMIMFromGiList(int[] giList) get the associated omim for an array of gi's |
int[] |
SHoundProteinFromDNA(int gi) Get the protein gi for a given gi |
int[] |
SHoundProteinFromDNAList(int[] giList) Get an array of protein gi's given an array of gi's |
java.lang.String |
SHoundProteinReportSetDescription(int gi,
int format) Get a protein report set description for a given gi. |
int[] |
SHoundProteinsFromChromosome(int chromid) Get the protein gi's for a given chromosome identifier |
int[] |
SHoundProteinsFromChromosomeList(int[] chromList) Get the protein gi's for an array of chromosome identifiers |
int[] |
SHoundProteinsFromOrganism(int taxid,
int chromflags) Get the proteins for a given taxonomy. |
int[] |
SHoundProteinsFromOrganismList(int[] taxList,
int chromflags) Get the protein gi's for a given taxonomy array, use bit notation for chromflags |
int[] |
SHoundProteinsFromTaxID(int taxid) Get the protein gi's for a given taxonomy |
int[] |
SHoundProteinsFromTaxIDIII(int taxid) Get an array of protein gi's for a given taxonomy identifier. |
int[] |
SHoundProteinsFromTaxIDList(int[] taxList) get an array of proteins from an array of taxonomy identifier |
int[] |
SHoundRedundantGroup(int gi) Gets all protein entries with the same sequence from the system |
int[] |
SHoundRedundantGroupFromID(int group) returns an array of gi's in the same group. |
int[] |
SHoundRedundantGroupFromIDList(int[] groupList) returns an array of redundant protein gi's for an array of redundant group id's. |
int |
SHoundRedundantGroupIDFromGi(int gi) Entrez collection of databases contains redundant entries i.e. |
int[] |
SHoundRedundantGroupIDFromGiList(int[] giList) Entrez collection of databases contains redundant entries i.e. |
java.util.Hashtable |
SHoundRedundantGroupKeyedList(int[] giList) Gets all protein entries with the same sequence from the system |
int[] |
SHoundRedundantGroupList(int[] giList) Gets all protein entries with the same sequence from the system |
java.lang.String |
SHoundSeqIdFromGi(int gi) Gets a SeqId object given a gi. |
java.lang.String |
SHoundSeqIdFromGiList(int[] giList) Get the SeqId's given a gi list. |
int |
SHoundSequenceLength(int gi) retrieves the length of a sequence. |
int |
SHoundTaxIDFrom3D(int mmdbid) Get a taxid for a given gi |
int[] |
SHoundTaxIDFrom3DList(int[] mmdbidList) Get an array of taxid from an array of MMDB identifier |
int |
SHoundTaxIDFromGi(int gi) Get the taxid for a given gi |
int[] |
SHoundTaxIDFromGiList(int[] giList) Get an array of taxonomy identifiers from an array of gi |
java.lang.String |
SHoundXMLBioseq(int gi) A wrap function to get an XML Formated Bioseq structure which contains sequence information and all available annotations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify,
notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int REPORT_XML
SHoundProteinReportSetDescription(int,
int)
, Constant
Field Valuespublic static final int REPORT_ASN_TXT
SHoundProteinReportSetDescription(int,
int)
, Constant
Field Valuespublic final int SEQHOUND_ERROR
public final int SEQHOUND_NULL
public final int SEQHOUND_OK
public final int SEQHOUND_ABNORMAL
Constructor Detail |
public SeqHound()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
- if the default
configuration file is not found java.io.IOException
- if there is an I/O exceptionSeqHound(String)
,SeqHound(String,
String)
public SeqHound(java.lang.String config)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
- if the default
configuration file is not found java.io.IOException
- if there is an I/O exceptionSeqHound()
,SeqHound(String,
String)
public SeqHound(java.lang.String config,
java.lang.String logThreshold)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
- if the default
configuration file is not found java.io.IOException
- if there is an I/O exceptionSeqHound()
,SeqHound(String)
Method Detail |
protected void SHoundLogError(java.util.logging.Level level,
java.lang.String msg)
level
- the level of the information or exception.
There are 3 levels, SH_info, SH_warn, SH_severemsg
- the message to be loggedpublic void setLogThreshold(java.lang.String minium)
protected java.lang.String GetFunctionCall(java.lang.String func,
java.lang.String args)
func
- the function being called on the cgi serverargs
- the querystring arguments to send to the
server protected int _ParseError(java.lang.String content)
content
- the string to parse the return value fromSEQHOUND_ERROR
,SEQHOUND_NULL
,SEQHOUND_ABNORMAL
,SEQHOUND_OK
protected int ProcessContents(java.lang.String address,
java.lang.StringBuffer result)
throws java.io.IOException,
java.net.MalformedURLException
address
- the http addressresult
- a buffer in which to save the return value
from the server java.io.IOException
- if there is an I/O exception java.net.MalformedURLException
- if the address is
not validSEQHOUND_OK
,SEQHOUND_NULL
,SEQHOUND_ERROR
protected int ProcessContents(java.lang.String address,
java.io.Writer out)
throws java.io.IOException,
java.net.MalformedURLException
address
- the http addressout
- an output where the server response should be
directed java.io.IOException
- if there is an I/O exception java.net.MalformedURLException
- if the address is
not validSEQHOUND_OK
,SEQHOUND_NULL
,SEQHOUND_ERROR
protected boolean SHoundIsServerAlive(java.lang.String configServerKey,
java.lang.String path,
java.lang.String args)
throws java.io.IOException
configServerKey
- the key that specifies which
server to usepath
- the path to the cgi-binargs
- the http querystring java.io.IOException
- if there is an I/O Exceptionpublic boolean SHoundInit(boolean NetEntrezOnToo,
java.lang.String appname)
throws java.io.IOException
NetEntrezOnToo
- turn on net entrez onappname
- the applicaton name java.io.IOException
- if an I/O Exception occurredpublic boolean SHoundFini()
throws java.io.IOException
java.io.IOException
public boolean SHoundIsNetEntrezOn()
throws java.io.IOException
java.io.IOException
public boolean SHoundIsInited()
public boolean SHoundNetEntrezInit(java.lang.String appname)
throws java.io.IOException
appname
- the application name java.io.IOException
public int SHoundFindAcc(java.lang.String acc)
throws java.io.IOException
acc
- the accession value java.io.IOException
public int[] SHoundFindAccList(java.lang.String[] accList)
throws java.io.IOException
accList
- the list of accession values java.io.IOException
SHoundFindAcc(String)
public int SHoundFindName(java.lang.String name)
throws java.io.IOException
name
- the name java.io.IOException
public int[] SHoundFindNameList(java.lang.String[] nameList)
throws java.io.IOException
nameList
- the list of names java.io.IOException
SHoundFindName(String)
public java.lang.String SHoundAccFromGi(int gi)
throws java.io.IOException
gi
- the gi to look up java.io.IOException
public java.lang.String[] SHoundAccFromGiList(int[] giList)
throws java.io.IOException
giList
- the list of gi's java.io.IOException
SHoundAccFromGi(int)
public java.lang.String SHoundSeqIdFromGi(int gi)
throws java.io.IOException
gi
- the gi to retrieve the SeqId for java.io.IOException
public java.lang.String SHoundSeqIdFromGiList(int[] giList)
throws java.io.IOException
giList
- the list of gi java.io.IOException
SHoundSeqIdFromGi(int)
public java.lang.String SHoundMoleculeType(int gi)
throws java.io.IOException
gi
- the gi to be determined java.io.IOException
public int SHoundSequenceLength(int gi)
throws java.io.IOException
gi
- the sequence to get the length of java.io.IOException
public boolean SHoundIsProtein(int gi)
throws java.io.IOException
SHoundMoleculeType(int)
gi
- the gi to determine java.io.IOException
public boolean SHoundIsNRFirst(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public boolean SHoundExists(int gi)
throws java.io.IOException
gi
- the gi to request java.io.IOException
public int SHound3DbWhat(int mmdbid)
throws java.io.IOException
mmdbid
- the 3D structure ID java.io.IOException
public int SHoundGetLargestMMDBID()
throws java.io.IOException
java.io.IOException
public boolean SHound3DExists(int mmdbid)
throws java.io.IOException
mmdbid
- the structural ID java.io.IOException
public int[] SHoundGOPMIDFromGiAndGOID(int gi,
int goid)
throws java.io.IOException
gi
- the gene info idgoid
- a geneontology id java.io.IOException
public java.lang.String[] SHoundGOECodeFromGiAndGOID(int gi,
int goid)
throws java.io.IOException
gi
- the gigoid
- the gene ontology id java.io.IOException
public int[] SHoundGetReferenceIDFromGi(int gi,
int reftype)
throws java.io.IOException
gi
- the gireftype
- specifies whether to return PMID or MUID.
Set reftype
to 1 for MUID, 2 for PMID. java.io.IOException
public int[] SHoundGetReferenceIDFromGiList(int[] giList,
int reftype)
throws java.io.IOException
giList
- the gilistreftype
- specifies whether to return PMID or MUID.
Set reftype
to 1 for MUID, 2 for PMID. java.io.IOException
public int[] SHoundGiFromReferenceID(int refid,
int reftype)
throws java.io.IOException
refid
- the publication idreftype
- the publication type. Set reftype
to 1 if refid is a PMID Set reftype
to
2 if refid is a MUID. java.io.IOException
public int[] SHoundGiFromReferenceList(int[] refList,
int reftype)
throws java.io.IOException
refList
- the publication listreftype
- the publication type. Set reftype
to 1 if refid is a PMID Set reftype
to
2 if refid is a MUID. java.io.IOException
public java.lang.String SHoundGetBioseq(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public java.lang.String SHoundGetBioseqList(int[] giList)
throws java.io.IOException
giList
- the list of gi java.io.IOException
SHoundGetBioseq(int)
public java.lang.String SHoundGetXMLBioseq(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
SHoundGetBioseq(int)
public java.lang.String SHoundXMLBioseq(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public java.lang.String SHoundGetSeqEntry(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public java.lang.String SHoundGetSeqEntryList(int[] giList)
throws java.io.IOException
giList
- the gi list java.io.IOException
SHoundGetSeqEntry(int)
public java.lang.String SHoundGetXMLSeqEntry(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
SHoundGetSeqEntry(int)
public java.lang.String SHoundGetBioseqSet(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public java.lang.String SHoundGetBioseqSetList(int[] giList)
throws java.io.IOException
giList
- an array of gi's java.io.IOException
SHoundGetBioseqSet(int)
public java.lang.String SHoundGetDefline(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public java.lang.String[] SHoundGetDeflineList(int[] giList)
throws java.io.IOException
giList
- the array of gi's java.io.IOException
SHoundGetDefline(int)
public java.lang.String SHoundGetFasta(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public java.lang.String[] SHoundGetFastaList(int[] giList)
throws java.io.IOException
giList
- an array of gi's java.io.IOException
SHoundGetFasta(int)
public boolean SHoundGetFastaList(int[] giList,
java.io.Writer out)
throws java.io.IOException
giList
- array of gi'sout
- the writer object java.io.IOException
SHoundGetFastaList(int[])
public java.lang.String SHoundGetGenBankff(int gi)
throws java.io.IOException
gi
- the gi to retrieve java.io.IOException
public java.lang.String[] SHoundGetGenBankffList(int[] giList)
throws java.io.IOException
giList
- an array of gi's java.io.IOException
SHoundGetGenBankff(int)
public java.lang.String SHoundGet3D(int mmdbid)
throws java.io.IOException
mmdbid
- the mmdb id java.io.IOException
public java.lang.String SHoundGet3DfromPdbId(java.lang.String pdbid)
throws java.io.IOException
pdbid
- the PDB identifier java.io.IOException
public java.lang.String SHoundGetXML3D(int mmdbid)
throws java.io.IOException
mmdbid
- the MMDB identifier java.io.IOException
public java.lang.String SHoundGetPDB3D(int mmdbid)
throws java.io.IOException
mmdbid
- the MMDB identifier java.io.IOException
public int[] SHoundGiFrom3D(int mmdbid,
boolean ProteinOnly)
throws java.io.IOException
mmdbid
- the MMDB identifierProteinOnly
- get the protein gi java.io.IOException
public int[] SHoundGiFrom3DList(int[] mmdbidList,
boolean ProteinOnly)
throws java.io.IOException
mmdbidList
- the list of MMDB identifiersProteinOnly
- protein or non-protein gi's to
retrieve java.io.IOException
SHoundGiFrom3D(int,
boolean)
public int SHoundGiFromPDBchain(java.lang.String pdbcode,
java.lang.String chain)
throws java.io.IOException
pdbcode
- the PDB identifierchain
- the chain on the PDB structure java.io.IOException
SHoundGiFromPDBchain(String,
String)
public int SHound3DFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHound3DFromGiList(int[] giList)
throws java.io.IOException
giList
- the array of gi's java.io.IOException
public int SHoundDNAFromProtein(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundDNAFromProteinList(int[] giList)
throws java.io.IOException
giList
- the array of gi java.io.IOException
SHoundDNAFromProtein(int)
public int[] SHoundProteinFromDNA(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundProteinFromDNAList(int[] giList)
throws java.io.IOException
giList
- the array of gi java.io.IOException
SHoundProteinFromDNA(int)
public int[] SHoundMuidFromGi(int gi)
throws java.io.IOException
SHoundGetReferenceIDFromGi(int,
int)
gi
- the gi java.io.IOException
public int[] SHoundMuidFromGiList(int[] giList)
throws java.io.IOException
SHoundGetReferenceIDFromGiList(int[],
int)
giList
- the gi array java.io.IOException
public int[] SHoundMuidFrom3D(int mmdbid)
throws java.io.IOException
mmdbid
- MMDB identifier java.io.IOException
public int[] SHoundMuidFrom3DList(int[] giList)
throws java.io.IOException
giList
- the gi array java.io.IOException
public int SHoundTaxIDFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundTaxIDFromGiList(int[] giList)
throws java.io.IOException
giList
- an array of gi's java.io.IOException
SHoundTaxIDFromGi(int)
public int SHoundTaxIDFrom3D(int mmdbid)
throws java.io.IOException
mmdbid
- the gi java.io.IOException
public int[] SHoundTaxIDFrom3DList(int[] mmdbidList)
throws java.io.IOException
mmdbidList
- an array of MMDB identifier java.io.IOException
SHoundTaxIDFrom3D(int)
public int[] SHoundProteinsFromTaxID(int taxid)
throws java.io.IOException
taxid
- the taxonomy identifier java.io.IOException
public int[] SHoundProteinsFromTaxIDList(int[] taxList)
throws java.io.IOException
taxList
- the array of taxonomy java.io.IOException
public int[] SHoundProteinsFromTaxIDIII(int taxid)
throws java.io.IOException
taxid
- the given taxonomy identifier java.io.IOException
public int[] SHoundDNAFromTaxID(int taxid)
throws java.io.IOException
taxid
- the taxonomy identifier java.io.IOException
public int[] SHoundDNAFromTaxIDList(int[] taxList)
throws java.io.IOException
taxList
- an array of taxid java.io.IOException
public int[] SHoundDNAFromTaxIDIII(int taxid)
throws java.io.IOException
taxid
- java.io.IOException
public int[] SHoundProteinsFromOrganism(int taxid,
int chromflags)
throws java.io.IOException
taxid
- the taxonomy identifierchromflags
- use hex notations:
0x40 for phage, 0x10 extra-chromosomal, 0x08 plasmid,
0x04 chloroplast, 0x02 mitochondrion, 0x01 chromosome,
0xFF all java.io.IOException
public int[] SHoundProteinsFromOrganismList(int[] taxList,
int chromflags)
throws java.io.IOException
taxList
- the array of taxonomy identifierchromflags
- see SHoundProteinsFromOrganism(int,
int)
java.io.IOException
public int[] SHoundProteinsFromChromosome(int chromid)
throws java.io.IOException
chromid
- the chromosome identifier java.io.IOException
public int[] SHoundProteinsFromChromosomeList(int[] chromList)
throws java.io.IOException
chromList
- an array of chromosomes java.io.IOException
public int[] SHoundAllGenomes()
throws java.io.IOException
java.io.IOException
public int[] SHoundChromosomeFromGenome(int taxid,
int chromflags)
throws java.io.IOException
taxid
- the taxonomy identifierchromflags
- see SHoundProteinsFromOrganism(int,
int)
java.io.IOException
public int[] SHoundChromosomeFromGenomeList(int[] taxList,
int chromflags)
throws java.io.IOException
taxList
- the taxonomy listchromflags
- see SHoundProteinsFromOrganism(int,
int)
java.io.IOException
public int[] SHoundDNAFromOrganism(int taxid,
int chromflags)
throws java.io.IOException
taxid
- the taxonomy identifierchromflags
- see SHoundProteinsFromOrganism(int,
int)
java.io.IOException
public int[] SHoundDNAFromOrganismList(int[] taxList,
int chromflags)
throws java.io.IOException
taxList
- the taxonomy arraychromflags
- see SHoundProteinsFromOrganism(int,
int)
java.io.IOException
public int[] SHoundDNAFromChromosome(int chromid)
throws java.io.IOException
chromid
- the chromosome identifier java.io.IOException
public int[] SHoundDNAFromChromosomeList(int[] chromList)
throws java.io.IOException
chromList
- an array of chromsome identifiers java.io.IOException
public int[] SHoundRedundantGroup(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundRedundantGroupList(int[] giList)
throws java.io.IOException
giList
- java.io.IOException
public int SHoundRedundantGroupIDFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundRedundantGroupIDFromGiList(int[] giList)
throws java.io.IOException
giList
- an arrary of gi java.io.IOException
public int[] SHoundRedundantGroupFromID(int group)
throws java.io.IOException
group
- id the group identifier java.io.IOException
public int[] SHoundRedundantGroupFromIDList(int[] groupList)
throws java.io.IOException
groupList
- an array of group id java.io.IOException
public int SHoundFirstOfRedundantGroupFromID(int group)
throws java.io.IOException
group
- the group id java.io.IOException
public int[] SHoundFirstOfRedundantGroupFromIDList(int[] group)
throws java.io.IOException
group
- array of group identifier java.io.IOException
public int[] SHoundGetTaxChildNodes(int taxid)
throws java.io.IOException
taxid
- the taxonomy java.io.IOException
public int[] SHoundGetTaxChildNodesList(int[] taxList)
throws java.io.IOException
taxList
- an array of taxonomy java.io.IOException
public int[] SHoundGetAllTaxProgeny(int taxid)
throws java.io.IOException
taxid
- the taxonomy id java.io.IOException
public int SHoundGetTaxParent(int taxid)
throws java.io.IOException
taxid
- a taxonomy identifier java.io.IOException
public int[] SHoundGetAllTaxAncestors(int taxid)
throws java.io.IOException
taxid
- a taxonomy identifier java.io.IOException
public boolean SHoundIsTaxMerged(int taxid)
throws java.io.IOException
taxid
- a taxonomy identifier java.io.IOException
public boolean SHoundIsTaxDeleted(int taxid)
throws java.io.IOException
taxid
- an taxon id java.io.IOException
public java.lang.String SHoundGetTaxNameFromTaxIDByClass(int taxid,
java.lang.String nameClass)
throws java.io.IOException
taxid
- a taxonomy identifiernameClass
- one of: java.io.IOException
public java.lang.String SHoundGetTaxNameFromTaxID(int taxid)
throws java.io.IOException
taxid
- java.io.IOException
public java.lang.String SHoundGetTaxLineageFromTaxID(int taxid,
java.lang.String type)
throws java.io.IOException
taxid
- a taxonomy idtype
- a string specifying the form. One of: java.io.IOException
public int[] SHoundGiFromGOID(int go)
throws java.io.IOException
go
- the gene ontology identifier java.io.IOException
public int[] SHoundGiFromGOIDList(int[] goList)
throws java.io.IOException
goList
- the array of goid java.io.IOException
public int[] SHoundGiFromGOIDListAndECode(int[] goList,
java.lang.String ecode)
throws java.io.IOException
goList
- the array of goidecode
- the go evidence code java.io.IOException
public int[] SHoundGOIDFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundGOIDFromGiList(int[] giList)
throws java.io.IOException
giList
- the array of gi's java.io.IOException
public int[] SHoundGiFromGOIDAndECode(int goid,
java.lang.String ecode)
throws java.io.IOException
goid
- a gene ontology identifierecode
- an evidence code java.io.IOException
public int[] SHoundGOIDFromRedundantGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundGOIDFromRedundantGiList(int[] giList)
throws java.io.IOException
giList
- the gi array java.io.IOException
public int[] SHoundGiFromCDDID(java.lang.String cddid)
throws java.io.IOException
cddid
- the domain identifier java.io.IOException
public int[] SHoundGiFromCDDIDList(java.lang.String[] cddidList)
throws java.io.IOException
cddidList
- an array of domain identifiers java.io.IOException
public java.lang.String[] SHoundCDDIDFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public java.lang.String[] SHoundCDDIDFromGiList(int[] giList)
throws java.io.IOException
giList
- an array of gi's java.io.IOException
public int[] SHoundGiFromOMIM(int omimid)
throws java.io.IOException
omimid
- the omid identifier java.io.IOException
public int[] SHoundGiFromOMIMList(int[] omimList)
throws java.io.IOException
omimList
- an array of omim java.io.IOException
public int[] SHoundOMIMFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundOMIMFromGiList(int[] giList)
throws java.io.IOException
giList
- the gi array java.io.IOException
public float SHoundCDDScoreFromGi(int gi,
java.lang.String cddid)
throws java.io.IOException
gi
- the gicddid
- the CDD identifier java.io.IOException
public int[] SHoundGiFromLLID(int llid)
throws java.io.IOException
llid
- a locuslink id java.io.IOException
public int[] SHoundGiFromLLIDList(int[] llidList)
throws java.io.IOException
llidList
- an array of locuslink id java.io.IOException
public int[] SHoundLLIDFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundLLIDFromGiList(int[] giList)
throws java.io.IOException
giList
- the array of gi's java.io.IOException
public java.lang.String SHoundLocusFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public int[] SHoundGODBGetRecordByReference(java.lang.String refType)
throws java.io.IOException
refType
- the reference type, eg "EC", java.io.IOException
public int[] SHoundGODBGetChildrenOf(int goid)
throws java.io.IOException
goid
- the gene ontology id java.io.IOException
public int[] SHoundGODBGetParentOf(int goid)
throws java.io.IOException
goid
- the input gene ontology id java.io.IOException
public int[] SHoundGODBGetAllAncestors(int goid)
throws java.io.IOException
goid
- the goid java.io.IOException
public int[] SHoundGODBGetAllChildren(int goid)
throws java.io.IOException
goid
- a given goid java.io.IOException
public java.lang.String SHoundGODBGetNameByID(int goid)
throws java.io.IOException
goid
- the goid java.io.IOException
public java.lang.String SHoundGODBGetClassification(int goid)
throws java.io.IOException
goid
- the given goid java.io.IOException
public int[] SHoundNeighboursFromGi(int gi,
double eValue,
boolean bLimit)
throws java.io.IOException
gi
- the gieValue
- the e-value cutoffbLimit
- limit the return list to 100 gi's java.io.IOException
public int[] SHoundNeighboursFromGiList(int[] giList,
double eValue,
boolean bLimit)
throws java.io.IOException
giList
- the list of gieValue
- the e value cutoffbLimit
- limit the return to 100 gi's java.io.IOException
public int[] SHoundNeighboursFromTaxID(int taxid,
double eValue)
throws java.io.IOException
taxid
- the taxonomy identifiereValue
- the evalue cutoff java.io.IOException
public int[] SHound3DNeighboursFromGi(int gi,
double eValue)
throws java.io.IOException
gi
- the gieValue
- the evalue cutoff java.io.IOException
public int[] SHound3DNeighboursFromTaxID(int taxid,
double eValue)
throws java.io.IOException
taxid
- the taxonomy ideValue
- the evalue cutoff java.io.IOException
public int[] SHoundGetGisByNumberOfDomains(int numdoms)
throws java.io.IOException
numdoms
- the number of domains java.io.IOException
public java.lang.String[] SHoundGetDomainIdFromLabel(java.lang.String label)
throws java.io.IOException
label
- the domain label java.io.IOException
public int[] SHoundGetGisByDomainId(java.lang.String domain)
throws java.io.IOException
domain
- the domain id java.io.IOException
public java.lang.String[] SHoundGetDomainLabelFromDomainId(java.lang.String accession)
throws java.io.IOException
accession
- the accession number java.io.IOException
public int[] SHoundGetGisByDomainIdAndEvalue(java.lang.String domain,
double evalue)
throws java.io.IOException
domain
- the domain idevalue
- the evalue cutoff java.io.IOException
public java.lang.String SHoundGetDomainsFromGi(int gi)
throws java.io.IOException
gi
- the gi java.io.IOException
public java.lang.String SHoundGetDomainsFromGiWithEvalue(int gi,
double eValue)
throws java.io.IOException
gi
- the gieValue
- the evalue cutoff java.io.IOException
public java.lang.String SHoundGetAccFromRetiredGi(int gi)
throws java.io.IOException
gi
- a retired gi java.io.IOException
public java.lang.String SHoundProteinReportSetDescription(int gi,
int format)
throws java.io.IOException
gi
- the giformat
- the format of the description. Either
REPORT_XML or REPORT_ASN_TXT java.io.IOException
public java.util.Hashtable SHoundGetFastaKeyedList(int[] giList)
throws java.io.IOException
giList
- an array of gi's java.io.IOException
public java.util.Hashtable SHoundRedundantGroupKeyedList(int[] giList)
throws java.io.IOException
java.io.IOException
public java.lang.String SHoundGetFastaFromRedundantGroupID(int gid)
throws java.io.IOException
gid
- the redundant group id java.io.IOException
public java.util.Hashtable SHoundGetFastaFromRedundantGroupIDKeyedList(int[] gidList)
throws java.io.IOException
gidList
- an array of redundant group ids java.io.IOException
public java.util.Hashtable ProcessRetStr(java.util.Hashtable h,
java.lang.String str)
throws java.io.IOException
str
- is the return string from server java.io.IOException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |