Prediction of Genomic Islands
Project description
TREASUREISLAND
TreasureIsland python package is a machine learning-based Genomic Island prediction software, that uses an unsupervised representation of DNA for its prediction.
Dependency :
Python >= 3.7
Installation and Usage:
Use pip to install the package :
TreasureIsland can be installed by python package management system "pip" :
pip install treasureisland --pre
The treasureisland package can be used to find predictions and downloaded as csv, xlsx, txt files demonstrated in TreasureIsland package
Option1 - Locally install package and use it:
git clone https://github.com/priyamayur/GenomicIslandPrediction.git
python -m pip install -e GenomicIslandPrediction
cd GenomicIslandPrediction
python test_ti <DNA file>
Option2 - TreasureIsland package:
import the sequence class from treasureisland package:
from treasureisland.dna_sequence import sequence
Instantiate the sequence with the DNA sequence file path as the argument. The DNA file used can be a fasta or genbank file.
seq = sequence("C:/Users/USER/GenomicIslandPrediction/genome/bsub.fasta") # enter local path for sequence file
Get prediction data frame from sequence by running the predict method.
pred = seq.predict(seqfile)
The predictions can be downloaded in text, csv, excel formats.
seq.predictions_to_csv(pred)
seq.predictions_to_excel(pred)
seq.predictions_to_text(pred)
The sample outputs can be found in the repository - output_NC_002620.2.txt, output_NC_002620.2.csv, output_NC_002620.2.xlsx
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file treasureisland-0.2b3.tar.gz
.
File metadata
- Download URL: treasureisland-0.2b3.tar.gz
- Upload date:
- Size: 5.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec9a1088ee43e473c73092f7006146e791ef27e3b6814168f9a293991e3daef3 |
|
MD5 | 4782f69ae067fa5969978088176d7fb6 |
|
BLAKE2b-256 | 2606ef5d36eca0b6db7f76b2c5041920587c759ab7da909517a0034f4501067a |
File details
Details for the file treasureisland-0.2b3-py3-none-any.whl
.
File metadata
- Download URL: treasureisland-0.2b3-py3-none-any.whl
- Upload date:
- Size: 5.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f7e3e1ed41026d9aaf0792283e5a4c93e6c9fe96947fa25556f18b5842fa44 |
|
MD5 | 2c6d842781e7c98e8840230d51305e1b |
|
BLAKE2b-256 | 323d768dc0beca3a24f2387e31e5aea26662060473a4049bcd9d5c8830b36172 |