This is the public version of binfpy: A Python library for Bioinformatics. The library is primarily intended for teaching bioinformatics and scientific computing at UQ.
You are free to use this code for any purpose. The code is changing continually and a number of people contribute, so we make no guarantees to it being bug free.
Watch the installation demo here.
- Clone the binfpy repository:
git clone https://github.com/bodenlab/binfpy.git
- Create a conda environment:
conda create --name binfpy python=3.8
- Activate the environment:
conda activate binfpy
- Navigate into the binfpy directory.
cd <path-to-download>/binfpy
- Install the package with -e to allow for editing.
pip install -e .
The clearest way to specify what library you want to use would look something like this.
import binfpy.webservice as webservice
Using help
can also print out some useful information. You can also get information about specific functions.
help(webservice)
help(webservice.getGODef)
It's also possible to only import certain functions or classes from the library. Here, I'll create an instance of a Sequence object.
from binfpy.sequence import Sequence
my_seq = Sequence("ATG", name="hello")
print(my_seq)