Installation and getting started¶
To install BioNumPy, run this command in your terminal:
$ pip install bionumpy
If you don’t have pip installed, this Python installation guide can guide you through the process.
Your first BioNumPy program¶
Assuming you have a file with som biological data, the following will read a chunk from the file and print a description of the content:
>>> import bionumpy as bnp
>>> file = bnp.open("example_data/reads.fq")
>>> chunk = file.read_chunk()
>>> print(chunk)
If the above works, you are now ready to read more about reading-files.