# (1) add bioconda origin
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
# (2) install ervdetective
## (i) create a separate environment for ervdetective (recommend)
conda create -n ervdetective_env python=3.7 # python >=3.6
conda activate ervdetective_env
conda install ervdetective # or 'conda install bioconda::ervdetective'
## (ii) or installation without creating separate environment (slow)
conda install ervdetective # or 'conda install bioconda::ervdetective'
# (3) view the help documentation
ervdetective -h
1.2. pip method
ervdetective has been distributed to the standard library of PyPI (https://pypi.org/project/ervdetective/), and can be easily installed by the tool pip.
Firstly, download Python3 (https://www.python.org/), and install Python3 and pip tool, then,
pip install ervdetective
ervdetective -h
Note, if ervdetective is installed by pip tool, you also need to manually install the software dependencies, please see section 2.
1.3. Or local installation
In addition, ervdetective can also be installed manually using the file using the file setup.py.
Firstly, download this repository, then, run:
python setup.py install
ervdetective -h
Note, if ervdetective is installed this way, you also need to manually install the software dependencies, please see section 2.
2. Software dependencies
The running of ervdetective relies on these softwares:
blast (version >=2.9.0+), has to contain makeblastdb and tblastn.
genometools (version >=1.6.1), has to contain ltrharvest.
hmmer (version >=3.0), has to contain hmmpress and hmmscan.
Note, these dependencies need to be installed and added to environment variables of system (or user) beforehand, because ervdetective call them from the environment variables directly.
3. Getting help
The help documentation can be get by entering ervdetective -h or ervdetective --help.
Parameter
Description
-h, –help
show this help message and exit
-i HOST
The file-path of host genome sequence, the suffix is generally *.fna, *.fas, *.fasta.
-eb EBLAST
Specify threshold of e-value for BLAST search, default: 1e-5.
-f FLANK
The length of extended flank sequence on either side of the blast hit-site, default: 15000.
-l1 MINLTR
Specify minimum length of LTR, default: 100.
-l2 MAXLTR
Specify maximum length of LTR, default: 1000.
-s LTRSIMILAR
Specify threshold(%) of the similarity of paired LTRs, default: 80.
-d1 MINDISTLTR
The minimum interval of paired-LTRs start-positions, default: 1000.
-d2 MAXDISTLTR
The maximum interval of paired-LTRs start-positions, default: 15000.
ERVdetective: an flexible and efficient pipeline for identification of endogenous retroviruses (ERVs)
1. Download and install
ervdetective is a command-line-interface program developed based on
Python 3, and you can download and install the ervdetective in a variety of ways.1.1. conda method (recommend)
ervdetective has been distributed to the
condaplatform (https://anaconda.org/bioconda/ervdetective), andcondawill automatically resolve software dependencies including blast, genometools and hmmer3. Thus, we recommend installing ervdetective byconda.1.2. pip method
ervdetective has been distributed to the standard library of
PyPI(https://pypi.org/project/ervdetective/), and can be easily installed by the toolpip.Firstly, download
Python3(https://www.python.org/), and installPython3andpiptool, then,Note, if ervdetective is installed by
piptool, you also need to manually install the software dependencies, please see section 2.1.3. Or local installation
In addition, ervdetective can also be installed manually using the file using the file
setup.py.Firstly, download this repository, then, run:
Note, if ervdetective is installed this way, you also need to manually install the software dependencies, please see section 2.
2. Software dependencies
The running of
ervdetectiverelies on these softwares:blast (version >=2.9.0+), has to contain
makeblastdbandtblastn.genometools (version >=1.6.1), has to contain
ltrharvest.hmmer (version >=3.0), has to contain
hmmpressandhmmscan.Note, these dependencies need to be installed and added to environment variables of system (or user) beforehand, because ervdetective call them from the environment variables directly.
3. Getting help
The help documentation can be get by entering
ervdetective -horervdetective --help.4. Example of usage
The bat Myotis myotis (GCA_004026985.1) , and its genome data was downloaded from https://www.ncbi.nlm.nih.gov/datasets/taxonomy/51298/
Then, run: