NBISweden / AGAT

Another Gtf/Gff Analysis Toolkit
GNU General Public License v3.0
447 stars 55 forks source link

Error Filtering Non-Protein Coding Entries Using agat_sp_filter_feature_by_attribute_value.pl with -t "!" Parameter #471

Closed a01508252 closed 2 months ago

a01508252 commented 3 months ago

Describe the bug When attempting to filter out non-protein_coding entries using the agat_sp_filter_feature_by_attribute_value.pl script with the --attribute biotype --value protein_coding -t "!" parameters, an error is returned stating that the test to apply is wrong. The error message suggests that valid tests are <, >, <=, >=, !, or =.

General:

To Reproduce Steps to reproduce the behavior:

  1. Execute the following command: agat_sp_filter_feature_by_attribute_value.pl --gff GCF_963259705.1_mMyoDau2.1_genomic.gff --attribute biotype --value protein_coding -t "!"

  2. The error message returned is: Bildschirmfoto 2024-07-02 um 14 55 18

  3. The input file is [GCF_963259705.1_mMyoDau2.1_genomic.gff](https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/963/259/705/GCF_963259705.1_mMyoDau2.1/GCF_963259705.1_mMyoDau2.1_genomic.gff.gz).

Expected behavior I expected the script to filter out all entries that are not protein_coding and retain only those that are protein_coding.