broadinstitute / gtex-pipeline

GTEx & TOPMed data production and analysis pipelines
BSD 3-Clause "New" or "Revised" License
343 stars 175 forks source link

skip empty annotations #83

Open jvolkening opened 1 year ago

jvolkening commented 1 year ago

I was using the "collapse_annotations.py" script to prepare a reference for RNASeQC, as suggested in its docs. I got an error running it on an NCBI genome GTF due to empty annotations, e.g. transcript_id "";. The purpose of this PR is to skip empty annotations and allow processing of these files.