Skip to content

zavolanlab/zgtf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9345a3c · Jun 17, 2021

History

9 Commits
Mar 26, 2021
Jun 17, 2021
Jun 5, 2020
Jun 5, 2020
Jun 17, 2021
Jun 8, 2020
Jun 8, 2020
Jun 5, 2020
Jun 8, 2020
Jun 5, 2020
Jun 5, 2020
Jun 17, 2021

Repository files navigation

zgtf

gtf conversion utlity

Installation

# clone the repo
git clone https://github.com/zavolanlab/zgtf.git
# create a virtual environment
python3 -m venv venv
# activate the virtual environment
source venv/bin/activate
# install zgtf scripts
pip install .

Run

Convert gtf file to bed12

gtf2bed12 --gtf <INPUT.gtf> --bed12 <OUTPUT.bed> --verbose
arguments:
  -h, --help            show this help message and exit
  --gtf FILE            Annotation file (gtf format)
  --bed12 FILE          Output file (bed12 format)
  --transcript_type TRANSCRIPT_TYPE
                        Transcript type [Default: protein_coding]
  -v, --verbose         Verbose

Docker

Pull image

docker pull zavolab/zgtf

Run

docker run -it zavolab/zgtf gtf2bed12 --help

Singularity

Pull image

singularity pull docker://zavolab/zgtf

Run

singularity exec zgtf_latest.sif gtf2bed12 --help