About bedtools closest command line output understanding
Hi, I used bedtools command to get nearest expressed genes and long non coding RNA and got result like this. I really did not understand the last column. Why distance is not matching?
Command used:
bedtools closest -a lincRNA.gtf -b *_lincRNAs.bed -d | head | less -S
Output:
1 432600 433992 ENSGALG00000036347 lincRNA + 1 1 531144 532064 . . + Cufflinks exon . gene_id "XLOC_000013"; transcript_id "TCONS_00000015"; exon_number "1"; oId "CUFF.10.1"; class_code "u"; tss_id "TSS13"; 97153
• 3,934 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Possible alternative: http://bedops.readthedocs.io/en/latest/content/reference/set-operations/closest-features.html
Can you post a snippet of your GTF and BED files?