Parse GTF file in Python

with gtfparse

Photo by Nikolay Kovalenko | Colin Viessmann on Unsplash

As a bioinformatics engineer, we often need to work with gtf files (Gene transfer format).Here we will go over for how to use gtfparse to read data from gtf file.

Example gtf file we can get from here : ftp://ftp.ensembl.org/pub/release-100/gtf/homo_sapiens/Homo_sapiens.GRCh38.100.gtf.gz .

--

--

--

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Starbucks Offer Prediction

Original Starbucks sign in Pikes Place, Seattle

Flexbox

How to create a Bell Curve using only Python

Inline Snapshot Testing

Normalization

Data storage patterns, versioning and partitions

Data processing pipeline between various buckets and the operations performed when data moves from one bucket to the other

Become a Master Builder with these Android Dev Tools

Prosemirror: Highlights & Comments

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Donald Le

Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

More from Medium

Table Prep: Data loads and time zones

My Autonomous Database in Oracle Cloud Infrastructure

TIL: Debugging Google Cloud Functions, written in Python, in Visual Studio Code, using functions…

Checking your python code format on Azure Pipelines

3.3.22: Extracting, Transforming, and Loading