Entering edit mode
6.2 years ago
gtasource
▴
60
I want to use Bedtools Slop on a GTF file, but only on specific features (for example only for those labeled as gene, or exon, ect.)
I have been trying to pipeline the command with awk, but to no avail:
awk '{ if ($3 == "gene") | bedtools slop -i A.bed -g my.genome -l 2 -r 3
Any help would be great!