Skip to main content

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.

TreasureIsland was contructed from Benbow dataset.

Dependency :

Python >= 3.7

Installation:

Option1 - Use pip to install the package :

TreasureIsland can be installed by python package management system "pip" :

pip install treasureisland

Option2 - Locally install package:

git clone https://github.com/priyamayur/GenomicIslandPrediction.git
python -m pip install -e GenomicIslandPrediction

Usage:

The treasureisland package is used to find genomic island predictions which can be downloaded as csv, xlsx, txt files demonstrated in TreasureIsland package

Or, run script locally to get predicitons quickly:

Clone the github repository if not cloned before:

git clone https://github.com/priyamayur/GenomicIslandPrediction.git
cd GenomicIslandPrediction
python run_treasureisland.py <DNA file>     

Input file:

DNA sequence files in fasta format with a sequenceID.

example: >NC_002620.2 Chlamydia muridarum str. Nigg, complete sequence CACATAGCAAAACACTCAAAGTTTTTCAGCAAAAAAGCTTGTTGAAAAAATTGTTGACCGCCTGTTCACA....

Performance:

TreasureIsland takes 2-5 mins to run depending on the size of the input.

Output :

Can be downloaded in csv, xlsx, txt formats. The results are shown in the following format for each genomic island:

example : NC_002620.2 1.0 130000.0 0.95597

The sample outputs can be found in the repository - output_NC_002620.2.txt, output_NC_002620.2.csv, output_NC_002620.2.xlsx

Testing:

Repository contains some sample DNA files that can be used to test the TreasureIsland.

example :

cd GenomicIslandPrediction
python run_treasureisland.py genome/ecoli.fasta    

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()

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)

Contact:

Feel free to contact at banerjee.p1104@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treasureisland-1.0.0.tar.gz (5.2 MB view details)

Uploaded Source

Built Distribution

treasureisland-1.0.0-py3-none-any.whl (5.2 MB view details)

Uploaded Python 3

File details

Details for the file treasureisland-1.0.0.tar.gz.

File metadata

  • Download URL: treasureisland-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 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

Hashes for treasureisland-1.0.0.tar.gz
Algorithm Hash digest
SHA256 baf738308b950069d4e6ae834a7203db3c9e434204019bcc32dfaa5f1c6383a2
MD5 fef7e9b9b1d81257fdea9d5bae803d9a
BLAKE2b-256 edd33a09d77d9c14b31ed74bac62e239f61222e73b5e4577279818e9eba7fc79

See more details on using hashes here.

File details

Details for the file treasureisland-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: treasureisland-1.0.0-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

Hashes for treasureisland-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44bede091a4ddc025205c8bd92a42029d076a91cb46c8e196eb82306744b54fd
MD5 6340ab56040e2e0a50173221d784da34
BLAKE2b-256 e206fbfa8d227616080afee5f869ba065297bbaf14659a09c14da6e7cfa3e453

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page