getSrcUrl: Get the Url and Release information for Diverse Databases

Description Usage Arguments Details Value Author(s) References Examples

View source: R/getSrcUrl.R

Description

Given the abbreviation of databases, these functions gets the url of data file, and get the version/release of the database.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

Arguments

src

a character string to indicate which database will be used. Possible values are: sp, trembl, ipi, refseq, go, goa, geneint, intact, mppi, 3did, domain, dbsubloc, bacello, interpro, pfam, scop, homologene, inparanoid, peptideatlas, sysptm, sysbodyfulid, prosite or ALL.

organism

a character string for the name of the organism of concern. (eg: "Homo sapiens")

taxID

a integer for the taxonomy identifier. (eg: 1906)

name

a character string to indicate data source. Possible values are: SP, IPI, REFSEQ, KEGG, Gene, GO, GOA, geneint, intact, MPPI, 3DID, DOMINE, DBsubloc, Bacello, Interpro, Pfam, SCOP, Homologene, Inparanoid, PeptideAtlas, SysPTM, Sys-BodyFulid or TAX.

Details

These functions are the results of an effort to get url and release/version for diverse databases. Some functions are improved from previous package "AnnBuilder".

Functions developped to convert multiple names for organism: speciesNorganism return a three-column matrix. organism2species() and organism2alias() employ speciesNorganism() to get organism and alias used in IPI database. organism2species use speciesNorganism() to convert organism to their species name. organism2alias use speciesNorganism() to convert organism to their alias name. getShortSciName get 3-character short name, eg: "Hsa". organism2taxID convert organism to taxID, eg: 9606 for "Homo sapiens". taxID2organism convert taxID to organism, eg: "Homo sapiens" for 9606.

Functions developped to get url and release information for data file: .srcUrls get basic web address for the given database. getSrcUrl get url for the data file based on .srcUrls(). getALLUrl get all available urls in this package. getSrcBuilt get version/release information based on .srcUrls. getALLBuilt get release information for databases in getALLUrl. getSrcSQUrl get url for protein sequence files. getSrcSQBuilt get release information for protein sequence files.

Value

getSrcUrl return a character string to indicate the url of data file.

getSrcBuilt return a character string to indicate the release/ version of the database.

Author(s)

Hong Li

References

Zhang, J., Carey, V., Gentleman, R. (2003) An extensible application for assembling annotation for genomic data.Bioinformatics 19(1), 155-156.

Examples

1
2
3
4
5
6
7
if(interactive()){
    # Get urls of all related databases  for "Homo sapiens".
    getALLUrl("Homo sapiens")
    
    # Get version/release information of all related databases for "Homo sapiens".
    getALLBuilt ("Homo sapiens")
}

PAnnBuilder documentation built on May 2, 2018, 4:07 a.m.