Skip to content

Commit b44b46d

Browse files
committed
initial commit of r3 ipi parser
1 parent 0a56335 commit b44b46d

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

ipi/ipi.php

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<?php
2+
/**
3+
Copyright (C) 2013 Jose Cruz-Toledo and Alison Callahan
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9+
of the Software, and to permit persons to whom the Software is furnished to do
10+
so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
*/
23+
/**
24+
* International Protein Index parser
25+
* @version 2.0
26+
* @author Jose Cruz-Toledo
27+
* @description ftp://ftp.ebi.ac.uk/pub/databases/IPI/last_release/current/Final%20Release%20of%20IPI
28+
*/
29+
class IPI extends Bio2RDFizer{
30+
private static $packageMap = array(
31+
"species_xrefs" =>array(
32+
"ipi.ARATH.xrefs.gz",
33+
"ipi.CHICK.xrefs.gz",
34+
"ipi.BOVIN.xrefs.gz",
35+
"ipi.DANRE.xrefs.gz",
36+
"ipi.HUMAN.xrefs.gz",
37+
"ipi.MOUSE.xrefs.gz",
38+
"ipi.RAT.xrefs.gz"
39+
),
40+
"gene_xrefs" => array(
41+
"ipi.genes.ARATH.xrefs.gz",
42+
"ipi.genes.BOVIN.xrefs.gz",
43+
"ipi.genes.CHICK.xrefs.gz",
44+
"ipi.genes.DANRE.xrefs.gz"
45+
),
46+
"gi2ipi" => array(
47+
"gi2ipi.xrefs.gz"
48+
)
49+
);
50+
51+
function __construct($argv){
52+
53+
}
54+
public function Run(){
55+
56+
}
57+
58+
public function getPackageMap(){
59+
return self::$packageMap;
60+
}//getpackagemap
61+
}
62+
63+
64+
65+
?>

0 commit comments

Comments
 (0)