ISEScan is a python pipeline to identify IS (Insertion Sequence) elements in genome. It includes an option in constants.py to report either complete IS elements or both complete and partial IS elements. It might be a good idea to try reporting both complete and partial IS elements when it is used to identify the IS elements in the assemblies of metegenome.
ISEScan was developed using Python3. It 1) scanes genome (or metagenome) in fasta format; 2) predicts/translates (using FragGeneScan) genome into proteome; 3) searches the pre-built pHMMs (profile Hidden Markov Models) of transposases (two files shipped with ISEScan; clusters.faa.hmm and clusters.single.faa) against the proteome and identifies the transposase gene in genome; 4) then extends the identified transposase gene into the complete IS (Insertion Sequence) elements based on the common characteristics shared by the known IS elements reported by literatures and database; 5) finally reports the identified IS elements in a few result files (e.g. a file containing a list of IS elements, a file containing sequences of IS elements in fasta format, an annotation file in GFF3 format).
Zhiqun Xie, Haixu tang. ISEScan: automated identification of Insertion Sequence Elements in prokaryotic genomes. Bioinformatics, 2017, 33(21): 3340-3347. (https://doi.org/10.1093/bioinformatics/btx433). Download: pdf, SupplementaryMaterials.docx, SupplementaryMaterials.xlsx.
-
Download the latest ISEScan from https://github.com/xiezhq/ISEScan/releases. The downloaded package is automatically saved as v1.5.4.3.zip (Source code (zip)) or v1.5.4.3.tar.gz (Source code (zip)).
-
Uncompress the .zip (or .tar.gz) file.
- Use unzip command to uncompress the zip file:
unzip v1.5.4.3.zip
- Use tar command to uncompress the tar.gz file:
tar -zvxf v1.5.4.3.tar.gz
- Use unzip command to uncompress the zip file:
- Python 3.3.3 or later
- numpy-1.8.0 or later
- scipy-0.13.1 or later
- fastcluster, latest version recommended, https://pypi.python.org/pypi/fastcluster
- FragGeneScan 1.19 or later, https://github.com/COL-IU/FragGeneScan
- HMMER-3.1b2 or later, http://hmmer.org/download.html
- BLAST 2.2.31 or later
- SSW Library, the latest version is not tested with ISEScan and the tested version of SSW library is shipped with ISEScan, please find it at ssw201507 subdirectory.
- To use the shipped SSW library in ISEScan, please go to ssw201507 and then compile the codes by gcc:
cc -Wall -O3 -pipe -fPIC -shared -rdynamic -o libssw.so ssw.c ssw.h
- And then copy sswlib.so to the directory of ISEScan and set the search path as:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:libssw.so
- The latest SSW library can be found at https://github.com/mengyao/Complete-Striped-Smith-Waterman-Library.
- To use the shipped SSW library in ISEScan, please go to ssw201507 and then compile the codes by gcc:
- biopython 1.62 or later (required by SSW library)
- Open constants.py, and find two lines marked with 'Config packages'
- Modify the paths to FragGeneScan (and phmmer, hmmsearch, blastn, makeblastdb)
- Save and close constants.py
Let's try an example, NC_012624.fna.
-
The command below scans NC_012624.fna (the genome sequence from Sulfolobus_islandicus_Y_N_15_51), and outputs all results in prediction directory:
python3 isescan.py NC_012624.fna proteome hmm
-
Wait for its finishing. It may take a while as ISEScan uses the HMMER to scan the genome sequences and it will use 621 profile HMM models to scan each protein sequence (predicted by FragGeneScan) in the genome sequence. HMMER searching is usually more sensitive but slower than the regular BLAST searching for remote homologs.
-
After ISEScan finish running, you can find the output files in prediction directory:
- NC_012624.fna.sum: the summarization of IS copies for each IS family
- NC_012624.fna.raw: details about IS copies in NC_012624, one copy per line
- NC_012624.fna.gff: listing each IS copy and its TIR, gff3 format
- NC_012624.fna.is.fna: the nucleic acid sequence of each IS copy, fasta format
- NC_012624.fna.orf.fna: the nucleic acid sequence of the Tpase gene in each IS copy, fasta format
- NC_012624.fna.orf.faa: the amino acid sequence of the Tpase in each IS copy, fasta format
-
Details about NC_012624.fna.sum:
- The title line starts with
#
, followed by the summarization of IS content for each sequence in NC_012624. The last line is the summarization of IS content for all sequences in NC_012624. - Summarization of IS content for each sequence in NC_012624:
- seqid: sequence identifier, extracted from head lines begining with
>
in NC_012624.fna, usuall the texts between>
and the first blank character in a head line - family: family name of IS element
- nIS: number of IS copies assigned to the specific family in a sequence
- %Genome: percentage of genome sequence content spaned by IS elements in a sequence, calculated by bps4IS/dnaLen (see the following columns)
- bps4IS: length of sequence segments spaned by IS elements in a sequence
- dnaLen: length of the specific sequence
- seqid: sequence identifier, extracted from head lines begining with
- The title line starts with
-
Details about NC_012624.fna.raw:
- The first line is title line with the column identifier for each column.
- The lines following the 2nd line are the main content of NC_012624.fna.raw file, one IS copy per line.
- Columns in NC_012624.fna.raw:
- seqID: sequence identifier
- family: family name of IS element
- cluster: Tpase cluster
- isBegin and isEnd: genome coordinates of the predicted IS element
- isLen: length of the predicted IS element
- ncopy4is: number of predicted IS copies including full-length and partial IS copies
- start1, end1, start2, end2: genome coordinates of the IRs
- score: score of the IRs
- irId: number of identical matches in pairwise alignment of left and righ hand invered repeats
- irLen, length of inverted repeats
- nGaps: number of gaps in IRs
- orfBegin, orfEnd: genome coordinates of the predicted Tpase ORF
- strand: strand where the Tpase is
- orfLen: length of predicted Tpase ORF
- E-value: the best E-value among all IS copies for the same IS element, the smaller the better
- E-value4copy: the E-value of the reported IS copy, the smaller the better
- Note: the E-value is the E-value returned by hmmer when searching profile HMMs against proteome translated from a genome sequence
- ov: ov number returned by hmmer search
- tir: terminal inverted repeat sequences
- ISEScan will run much faster if you run it on the same genome sequence more than once (e.g., trying different optimal parameters of near and far regions (see our paper [...] for the definitions of near and far regions)) to search for IS elements in your genome). The reason is that it skips either FragGeneScan or both FragGeneScan and phmer/hmmsearch steps which are most time-consuming steps in ISEScan pipeline.
- If you prefer ISEScan recalculating the the results, you can simply remove the proteome file and HMMER search results which are related to your genome sequence file name. For example, you can delete NC_012624.fna.faa in proteome directory and clusters.faa.hmm.NC_012624.fna.faa and clusters.single.faa.NC_012624.fna.faa in hmm directory, and then rerun it:
python3 isescan.py NC_012624.fna proteome hmm
- 1.5.4.3
- Fix the bug which failed to report the Tpase ORFs in multi-copy IS elements, and ISEScan now output a .raw file with one additional column E-value4copy which is the E-value of the reported IS copy while the column E-value is the best E-value among all IS copies for the same IS element.
- 1.5.4.1
- fix bug for batch4bacteria.py when *.sum files were created by either outputIndividual() or outputIS4multipleSeqOneFile() in pred.py
- 1.5.4
- Add removeFalsePositive() to remove the potentail false positive in the 'new' family: 1) single-copy hits with e-value > e-50 or no tir or nGaps > 0 or irId < 20 or irId/irLen < 0.75; 2) multi-copy hits with evalue > e-50 and (irId < 13 or (irId < 20 and ngaps > 0))
- Modify refineHits() to remove the single-copy partial IS elements: 1) if evalue > e-50 or (irId < 13 or (irId < 20 and ngaps > 0 for familys other than IS200/IS605)
- Modify refineHits() to remove the multi-copy partial IS elements: 1) if evalue > e-50 for IS200/IS605 family; 2) if irId < 10 for familys other than ten familys which could have the full IS without perfect TIR (irId < 10), IS110, IS4, IS5, IS6, ISAS1, ISH3, ISNCY.
- Change irSim4singleCopy in constants.py from 0.85 to 0.75, for the use in removeFalsePositive()
- 1.5.3
- Fix bug in getFullIS4seqOnStream() for genome sequence with long multi-copy fregments containing the common IS element
- Use 'average' instead of 'single' method in fastcluster.linkage()
- Fix bug in removeOverlappedOrfhits() to correctly count single-copy IS elements for genome sequence without multi-copy IS elements
- 1.5.2
- Fix bug for genome sequence without multi-copy IS elements
- 1.5.1
- Change: changed consensusBoundaryByCutoff() to consensusBoundaryByCutoffBySeparated()
- Change: added consensusBoundaryByCutoffByCombined() and getbds4opt4start(), to determine the left and right boundaries of multi-copy pro-IS element simultaneously, namely, to determine the optimal combined left and right boundaries instead of separated left and right boundaries.
- 1.5
- Change: add consensusBoundaryByCutoff() and ncopyByCutoff() in tools.py, to determine the optimal boundary of multi-copy pro-IS element.
- 1.4
- Change: recruit the IS copies without predicted Tpase when search for multi-copy IS elements
- 1.3
- Remove buildHMM.py from ISEScan
- 1.2
- CHANGE: pHMMs
clusters.faa.hmm
andclusters.single.faa
, both files are now built upon the curated ACLAME dataset (ACLAME is a mobile genetic element database.)
- CHANGE: pHMMs
- 1.1.1
- Add option in
constants.py
to report either complete IS elements or both complete and partial IS elements
- Add option in
- 1.0
- The first proper release
Zhiqun Xie – @col-iu](https://col-iu.wikispaces.com/Zhiqun+Xie) – [email protected]
Distributed under the GNU General Public License.