I want to get features from a GFF3 file by using a bedfile and betools window. From what I understand from the documentation (![screencap] attached), I should get the desired result (features from B), however it seems that I get feature from the bedfile instead (file A).
I'm using this type of command:
bedtools window -a input.bed -b input.gff3 -l 50 -r 500 -sm > output
 : https://ibb.co/febExG