The script aims to remove or flag loci that are too close to each other. Close loci are important to remove when training abinitio tools in order to train intergenic region properly. Indeed if intergenic region (surrouneded part of a locus) contain part of another locus, the training on intergenic part will be biased.
agat_sp_filter_by_locus_distance.pl -gff infile.gff [ -o outfile ] agat_sp_filter_by_locus_distance.pl --help
Input GTF/GFF file.
--dist or -d
The minimum inter-loci distance to allow. No default (will not apply filter by default).
--add or --add_flag
Instead of filter the result into two output files, write only one and add the flag <low_dist> in the gff.(tag = Lvalue or tag = Rvalue where L is left and R right and the value is the distance with accordingle the left or right locus)
-o , --output , --out or --outfile
Output GFF file. If no output file is specified, the output will be written to STDOUT.
Verbose option, make it easier to follow what is going on for debugging purpose.
-h or --help
Display this helpful text.