About sborf
Installation
Package installation should only take a few minutes with any of these methods (pip, source).
Installing sborf with pip:
We suggest to create a local conda environment where to install sborf. it can be done with:
conda create -n sborf
and activated with
conda activate sborf
or
source activate sborf
We also suggest to install pytorch separately following the instructions from https://pytorch.org/get-started/locally/
pip install sborf
The procedure will install sborf in your computer.
Installing sborf from source:
If you want to install sborf 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/sborf/
Usage
the pip installation will install a script called sborf_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
sborf_standalone AWESAMEPRTEINSEQENCEASINPT
or, for multiple sequences, do
sborf_standalone fastaFile.fasta
To write the output in a file, do
sborf_standalone fastaFile.fasta -o outputFilePath
Using sborf into a python script
sborf can be imported as a python module
from sborf.run_prediction import predict
proteinSeq1 = "ASDASDASDASDASDASDDDDASD"
proteinSeq2 = "ASDADDDDDDDDDDDDDASDASDDDDASD"
proteinSeq2 = "ASDADFFFFFFFFFDDDDDDDDFFFFFFFFFASD"
inputSequences = {"ID1":proteinSeq1,"ID2":proteinSeq2,"ID3":proteinSeq3}
sborf_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
Metadata
Release files for sborf 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sborf-0.0.3.tar.gz | 189.8 kB | Without provenance | Details for sborf-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sborf-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for sborf-0.0.3-py3-none-any.whl |
Total release size: 379.6 kB
Release files / sborf-0.0.3.tar.gz
| Download URL | sborf-0.0.3.tar.gz |
|---|---|
| Size | 189.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92e46fa00837cc1f600f1faba3e4d6fa5bb46e30acfce4946913316c0192fa35
|
|
BLAKE2b-256 checksum How to use checksums |
4ec0f68a558bc6236182349ffe789c2ca4645f6b56497dbb5da0304459c1ad6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / sborf-0.0.3-py3-none-any.whl
| Download URL | sborf-0.0.3-py3-none-any.whl |
|---|---|
| Size | 189.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
539df92437eb76903e4eaa8b57a0f31250e0269d511d97b143c8c56e130bf4a3
|
|
BLAKE2b-256 checksum How to use checksums |
96ec479a23a6fe84d560314155f67599772de28a2eb70fc1ed8d7cddccc668ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Security for sborf 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.