filter_gtf: Filter GTF file according to index file

Description Usage Arguments Details

View source: R/filter_gtf.r

Description

Fitler an annotation GTF file according to fasta index file.

Usage

1
filter_gtf(gtf, fai, output = NULL)

Arguments

gtf

an input GTF file

fai

an input fasta index file

output

optional an output file. If not specified, output is derived from the fasta index file.

Details

This might be useful when filtering a GTF so that only chromosomes or scaffolds of interest are present.

This code is a thin wrapper over the Python script filter_gtf.py found in the package's inst folder.


bioDS/phyloRNA documentation built on Feb. 21, 2022, 3:28 p.m.