Skip to content

Commit c7cecfe

Browse files
committed
KEGG REST API updated from HTTP to HTTPS
1 parent f38fdf4 commit c7cecfe

File tree

6 files changed

+3
-34849
lines changed

6 files changed

+3
-34849
lines changed

.DS_Store

-2 KB
Binary file not shown.

class/functional_class3.pl

100644100755
+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
print "\n$database last updated $kup\n";
4949

5050
print "Example input types\n---------------\ngid |\tsym\n";
51-
$gene_type=`curl -s http://rest.kegg.jp/list/${organism} | grep -v "uncharacterized"| sort -R | head -n10 | sed 's/^${organism}\://' | sed 's/\; /\t/' | cut -f1,2`; ## Edited 2017/07/07
51+
$gene_type=`curl -s https://rest.kegg.jp/list/${organism} | grep -v "uncharacterized"| sort -R | head -n10 | sed 's/^${organism}\://' | sed 's/\; /\t/' | cut -f1,2`; ## Edited 2017/07/07
5252
print $gene_type;
5353

5454
$ginput=$INFILE;
@@ -67,13 +67,13 @@
6767

6868
print "Example input types\n---------------\ngid |\tsym\n";
6969
#$gene_type=`curl -s http://rest.kegg.jp/list/${organism} | grep -v "uncharacterized"| head -n10 | sed 's/^${organism}\://' | sed 's/\;/\t/' | awk '{print \$1"\t"\$2;}'`;
70-
$gene_type=`curl -s http://rest.kegg.jp/list/${organism} | grep -v "uncharacterized"| sort -R | head -n10 | sed 's/^${organism}\://' | sed 's/\; /\t/' | cut -f1,2`; ## Added 2017/01/13 # Edited 2017/07/07
70+
$gene_type=`curl -s https://rest.kegg.jp/list/${organism} | grep -v "uncharacterized"| sort -R | head -n10 | sed 's/^${organism}\://' | sed 's/\; /\t/' | cut -f1,2`; ## Added 2017/01/13 # Edited 2017/07/07
7171
print $gene_type;
7272

7373
print "=> Retreving gene list for ${organism} from $database\n";
7474
#$cmd=`curl -s -S http://rest.kegg.jp/list/${organism} | sed "s/${organism}\://" > $DIR/mapping/DB/@{myout[$#myout]}_gene_list.txt;`; ## Edited 2010/07/24
7575

76-
$cmd=`curl -s -S http://rest.kegg.jp/list/${organism} | sed "s/${organism}\://" | sed 's/; /\t/' | cut -f1,2> $DIR/mapping/DB/@{myout[$#myout]}_gene_list.txt;`; ## Added 2017/06/01 # Edited 2017/07/07
76+
$cmd=`curl -s -S https://rest.kegg.jp/list/${organism} | sed "s/${organism}\://" | sed 's/; /\t/' | cut -f1,2> $DIR/mapping/DB/@{myout[$#myout]}_gene_list.txt;`; ## Added 2017/06/01 # Edited 2017/07/07
7777

7878
print "=> Mapping user list\n";
7979
$cmd=`perl $DIR/class/scripts/mappingIDS.pl $DIR/mapping/DB/@{myout[$#myout]}_gene_list.txt $INFILE $DIR | awk '!x[\$0]++' > $OUTPATH/@{myout[$#myout]}_user_mapped.list`; ## Edited 2010/07/24
164 Bytes
Binary file not shown.
164 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)