gene_info.py - get information about the number of introns and the length of genes from the GFF3 file
Before using the script, PyInterval needs to be installed:
pip install --upgrade pip
pip install pyinterval
Then, download or clone this repository, and you are good to go.
git clone https://github.com/yangwu91/gene_info.git
It is very straightforward:
python gene_info.py <GFF3>
The output file will be named as <GFF3>_gene_structure.csv
, which could be opened with Excel or Notepad etc.