This is a test version of Biostars. For the public version, visit https://www.biostars.org.
htseq-count: error: the following arguments are required: featuresfilename
htseq-count -f bam -r name -i gene_id -s no -t exon /Users/abc/sorted.bam > count.txt
usage: htseq-count [options] alignment_file gff_file
htseq-count: error: the following arguments are required: featuresfilename
  

not getting what's wrong in my code help me

rna-seq rna-seq alignment sequencing sequence

1 answer

You give the software no gff. How is it supposed to assign reads to genes without one?

Thank you for your reply I have human rna sequence( paired ) so from where I get this gff file for this and then what the command I have to follow

Get your gtf from the sample place that the genome you aligned to came from. I don't know where you are getting your references, you have to know that.

I'm not sure HTseq-count takes gff3 format, but the best way to find out is to try it.

Log in to answer this question.