Skip to content
Snippets Groups Projects
Commit d8c1bfaf authored by Shaman Narayanasamy's avatar Shaman Narayanasamy
Browse files

Clean ec2pathway output

parent 9842acc4
No related branches found
No related tags found
No related merge requests found
......@@ -230,5 +230,6 @@ rule _DOWNLOAD_KEGG_INFORMATION:
shell:
"""
wget http://rest.kegg.jp/link/ec/pathway -O {DBPATH}/ec2pathway.txt.tmp
grep "path:ec" {DBPATH}/ec2pathway.txt.tmp > {DBPATH}/ec2pathway.txt
grep "path:ec" {DBPATH}/ec2pathway.txt.tmp | sed -e 's/path:ec//g' | sed -e 's/ec://g' > {DBPATH}/ec2pathway.txt
"""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment