Skip to content

bodenlab/binfpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binfpy: A Python library for Bioinformatics

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.

Installation

Watch the installation demo here.

  1. Clone the binfpy repository:
git clone https://github.com/bodenlab/binfpy.git
  1. Create a conda environment:
conda create --name binfpy python=3.8
  1. Activate the environment:
conda activate binfpy
  1. Navigate into the binfpy directory.
cd <path-to-download>/binfpy
  1. Install the package with -e to allow for editing.
pip install -e .

Usage in a notebook

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)

About

Python library for Bioinformatics courses at UQ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages