Skip to main content

A predictor of DNA-binding proteins in archaea

Project description

logo


About Xenusia

Xenusia is a Ppredictor of DNA-binding proteins in archaea.

If you use Xenusia in your research, please consider citing:

Installation

Package installation should only take a few minutes with any of these methods (pip, source).

Installing Xenusia with pip:

We suggest to create a local conda environment where to install xenusia. it can be done with:

conda create -n xenusia

and activated with

conda activate xenusia

or

source activate xenusia

We also suggest to install pytorch separately following the instructions from https://pytorch.org/get-started/locally/

pip install xenusia

The procedure will install xenusia in your computer.

Installing Xenusia from source:

If you want to install Xenusia from this repository, you need to install the dependencies first. First, install PyTorch separately following the instructions from https://pytorch.org/get-started/locally/.

Then install the other required libraries:

pip install numpy scikit-learn requests

Finally, you can clone the repository with the following command:

git clone https://github.com/grogdrinker/xenusia/

Usage

the pip installation will install a script called xenusia_standalone that is directly usable from command line (at least on linux and mac. Most probably on windows as well if you use a conda environemnt).

Using the standalone

The script can take a fasta file or a sequence as input and provide a prediction as output

xenusia_standalone AWESAMEPRTEINSEQENCEASINPT

or, for multiple sequences, do

xenusia_standalone fastaFile.fasta

To write the output in a file, do

xenusia_standalone fastaFile.fasta -o outputFilePath

Using Xenusia into a python script

Xenusia can be imported as a python module

from xenusia.run_prediction import predict
proteinSeq1 = "ASDASDASDASDASDASDDDDASD"
proteinSeq2 = "ASDADDDDDDDDDDDDDASDASDDDDASD"
proteinSeq2 = "ASDADFFFFFFFFFDDDDDDDDFFFFFFFFFASD"
inputSequences = {"ID1":proteinSeq1,"ID2":proteinSeq2,"ID3":proteinSeq3}

xenusia_output = predict(inputSequences) # which is a dict containig the predictions

Help

For bug reports, features addition and technical questions please contact gabriele.orlando@kuleuven.be

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

xenusia-0.0.2-py3-none-any.whl (64.2 kB view details)

Uploaded Python 3

File details

Details for the file xenusia-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: xenusia-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 64.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for xenusia-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c64535bc2cd74caaa16bdf4247220bbaa488f84a31b2a4e0d361b8fe4a2bc339
MD5 ef18c306b82304884066c4f5a1ac9e92
BLAKE2b-256 c79f3aeb234bb4428c6ff2483d58dee80c8c6bd3e5c740aa44c46d05724cb380

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