====== InterProScan ======
===== General information =====
To run InterProScan locally, you need to download the InterPro databases and modify the configuration file of the program. As the databases are large files, this would mean a large amount of data redundancy if you were to install them individually. For this reason, we prepared a ready to use version of InterProScan with Anaconda. Environments can be shared, so you can activate the environment with:
conda activate /home/freya/miniconda3/envs/interproscan_conda
Because InterProScan takes up a lot of memory, you should send this job to our cluster. Note, that InterProScan can not create folders for the output. That means that you need to use an existing directory that does not contain special characters like dots in its name for the output.
/*
- Python 2.7
- you can check your python version with the command python --version
- Java
- install Java with anaconda: conda install bioconda::java-jdk
- Hmmer: ''conda install bioconda::hmmer''
- Blast: ''conda install bioconda::blast''
*/
**Running Interproscan**
interproscan.sh -cpu 8 -i -b ./interproscan -dp -goterms -appl TIGRFAM,PANTHER,Coils,SMART,Pfam,MobiDBLite,CDD
**Options:**
* **-i** - specify the input file containing the sequences in Fasta format.
* **-b** - specify the name of the output directory
* **-dp** - disables using the online lookup services - all analysis are run locally
* **-goterms** - Extract the GO terms from the annotated domains and features and assigns them to the query sequence
* **-appl** - specify the analyses you want to include in your InterProScan run. Selecting fewer applications will speed up the search
For further information about how to run InterProScan, please see the [[https://github.com/ebi-pf-team/interproscan/wiki|online wiki]] provided by the developer.
Once everything is set, run the analysis on all sequences. This analysis will take some time, so you best run it over night.
#!/bin/bash
#SBATCH --partition=all,inteli7
#SBATCH --cpus-per-task=8
#SBATCH --mem=10GB
#SBATCH --job-name="InterProTest"
interproscan.sh -cpu 8 -i -b ./interproscan -dp -goterms -appl TIGRFAM,PANTHER,Coils,SMART,Pfam,MobiDBLite,CDD
/*removed from inteproscan run due to failure: PROSITEPROFILES
local installation that is no longer usable due to missing global installations of hmmer, java, etc.: /share/project/interproscan-5.28-67.0/interproscan.sh*/
Just download and modify this file, then send it to the cluster with
sbatch RunInterpro.sh
/*
===== InterProScan configuration =====
We have tweaked the configuration of InterProScan a bit to improve the [[https://github.com/ebi-pf-team/interproscan/wiki/ImprovingPerformance|performance on our system]]. You will find the corresponding file at
/share/project/interproscan-5.28-67.0/interproscan.properties
Specifically, we made the following changes
* We have set the max number of workers to 2
## Master/Stand alone embedded workers
##
# Set the number of embedded workers to the number of processors that you would like to employ
# on the machine you are using to run InterProScan.
#number of embedded workers a master process can have
number.of.embedded.workers=1
maxnumber.of.embedded.workers=2
* and start hmmsearch and pfamscan with 3 cpus each
## cpu options for parallel processing
##
#hmmer cpu options for the different jobs
hmmer3.hmmsearch.cpu.switch.gene3d=--cpu 3
hmmer3.hmmsearch.cpu.switch.panther=--cpu 3
hmmer3.hmmsearch.cpu.switch.pfama=--cpu 3
hmmer3.hmmsearch.cpu.switch.pirsf=--cpu 3
hmmer3.hmmsearch.cpu.switch.sfld=--cpu 3
hmmer3.hmmsearch.cpu.switch.superfamily=--cpu 3
hmmer3.hmmsearch.cpu.switch.tigrfam=--cpu 3
hmmer3.hmmsearch.cpu.switch.hmmfilter=--cpu 3
hmmer2.hmmpfam.cpu.switch.smart=--cpu 3
#panther binary cpu options (for blastall and hmmsearch)
panther.binary.cpu.switch=-c 3
#pirsf binary cpu options (for hmmscan)
pirsf.pl.binary.cpu.switch=-cpu 3
*/