This script is for generating TSS, exon, intron, intergenic region annotations from GTF file. The input GTF file requires chromosome name with "chr" prefix.
bash gtfanno.sh -f <GTF file> # Output file to current working directory
bash gtfanno.sh -f <GTF file> -o <output directory> -k # Includes scaffolds
-fRequired. Path to GTF file. Either gzipped or plain file is accepted.-pOptional. Prefix to output files. Default the same as the prefix of GTF file name.-oOptional. Output directory. Default the current working directory.-kOptional. Also include scaffolds.-rOptional. The radius upstream and downstream the TSS. Default to 300.-sOptional. The local chromosome size file for calculating intergenic area. If left empty, it will be automatically downloaded from https://github.com/igvteam/igv/tree/master/genomes/sizes-hPrint this help message.