Hi there! I have tried the below command to find genes (in File2, a "gtf" file) which are overlapped with genomic regions in File1:
$ bedtools intersect -a File1.tab -b File2 -wa -wb > overlap-genes
File1: includes genomic regions such as: 1 79390 88028
File2: includes genomic regions and genes (reference).
Actually I want to find the genes which are exactly within genomic regions in the File1, No overlapping genes with regions (because maybe some part of genes are only overlap with regions no in the regions, that we do not want to select them). Is there someone to help me for improve the command. Thanks.