This is a test version of Biostars. For the public version, visit https://www.biostars.org.
error while using awk script to extract information about intron length from gff file

I am using this script to extract intron length information but showing some error.

Script: https://github.com/nathanweeks/scripts/blob/master/intron-length.awk

GFF File: (Rs.1.0.Gene)

http://radish-genome.org/Data_resource/

Error: awk intron-length.awk TYPE=CDS Rs_1.0.Gene.LFY.gff

awk: cmd. line:1: intron-length.awk

awk: cmd. line:1: ^ syntax error

rna-seq

1 answer

make intron-length.awk into executable file

chmod +x intron-length.awk

then run the command as

./intron-length.awk TYPE=CDS Radish_V123_Gene.LFY.gff

Log in to answer this question.