Skip to main content

\n# Bioinformatics Tool: bioFile

Introduction

Retrieve data from various file formats used in RNA-Seq data analysis. The tool currently support:

  • GTF file: genomic annotations
  • GFF file: genomic annoations

quick installation

pip install biofile

Development

git clone git@github.com:Tiezhengyuan/bio_file.git
cd bio_file
source venv/bin/activate

Run unit testing:

pytest tests/unittests

Quick tour

Process GFF:

Retrieve annotations by features from <gff_file>. Multiple json files would be stored in <out_dir>

from biofile import GFF
g = GFF(gff_file, out_dir)
g.split_by_features()

Given an attribute, retrieve annotations from <gff_file>. and save dataframe in <out_dir>. Here, search all mRNA according to transcript_id. All related annotations are included. The output is transcript_id_mRNA.txt.

from biofile import GFF
g = GFF(gff_file, out_dir)
g.parse_attributes('transcript_id', 'mRNA')

Process GTF:

Retrieve annotations by features from <gtf_file>. Multiple json files would be stored in <out_dir>

from biofile import GTF
g = GTF(gtf_file, out_dir)
g.split_by_features()

Given an attribute, retrieve annotations from <gtf_file>. and save dataframe in <out_dir>. Here, search all mRNA according to transcript_id. All related annotations are included. The output is transcript_id_mRNA.txt.

from biofile import GTF
g = GTF(gtf_file, out_dir)
g.parse_attributes('transcript_id', 'mRNA')

Metadata

Release files for biofile 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for biofile 0.1.0
File Size Uploaded
biofile-0.1.0.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for biofile 0.1.0
File Interpreter ABI Platform
biofile-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.4 kB

Release files / biofile-0.1.0.tar.gz

Download URL biofile-0.1.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a009d31b3c3d523e656e3d8d5ce49aee8ce0f9954e21dbc04730ecfff4a96b0c
BLAKE2b-256 checksum
How to use checksums
c9b6fc83ab385e97ca08f0ff4cd3aa3fcf682401fe620989a8f974dbc9a69ee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / biofile-0.1.0-py3-none-any.whl

Download URL biofile-0.1.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
857356795aa6d57ea374ded9c9f18abbb3a4996c88ff0e958cd3fb8a8dd1b031
BLAKE2b-256 checksum
How to use checksums
d35c21620078b8fd47d66491faa3cb33b12a058bca7b9c3f9c387e3ccb4d5f62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page