Skip to content

Commit

Permalink
Add script for running and processing InterProScan
Browse files Browse the repository at this point in the history
Set up InterProScan, run it then process the results with
pombase-domain-process.

Refs pombase/pombase-chado#1218
  • Loading branch information
kimrutherford committed Oct 19, 2024
1 parent 8f8461b commit 9cea2bf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions etc/run_and_process_interpro.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh -

# Usage:
# cd <interproscan_directory>
# run_and_process_interpro.sh

python3 setup.py -f interproscan.properties

perl -pne 's/(precalculated.match.lookup.service.proxy.(host|port)=).*/$1/' interproscan.properties > interproscan.properties.new &&
mv interproscan.properties.new interproscan.properties

curl https://curation.pombase.org/dumps/latest_build/fasta/feature_sequences/peptide.fa.gz |
gzip -d | perl -pne 's/\*$//' | perl -pne 's/\*/X/g' > pombe_peptide.fa

PATH=/usr/local/jdk-14.0.1/bin:$PATH nice -19 ./interproscan.sh -i pombe_peptide.fa -f json

PATH=/usr/local/tmhmm-2.0c/bin:$PATH nice -19 /var/pomcur/bin/pombase-domain-process -p pombe_peptide.fa \
-i pombe_peptide.fa.json -o domain_out.json

0 comments on commit 9cea2bf

Please sign in to comment.