bedtools probelm of syntax
1
0
Entering edit mode
9.8 years ago
Korsocius ▴ 260

Hi I would like to use this syntax, but bedtools has a problem with -f function, do you know where could be a problem pls? ($z is a bam file.....)

bedtools map -a /home/filip/Desktop/binary_NIFTY.bed -b $z -c 10,10 -o count,concat -f | awk -v OFS="\t" 'BEGIN {print "CHR\tSTART\tSTOP.............................

Thank you for help. Filip

map bedtools DNA • 2.2k views
ADD COMMENT
3
Entering edit mode
9.8 years ago

You need to supply a value for the -f argument. For example, if you require 50% overlap, provide -f 0.05.

ADD COMMENT
0
Entering edit mode

But there is a default value or not? (for one base 1bp)

ADD REPLY
1
Entering edit mode

Yep, default (without providing -f) will detect one base pair. If you use, -f you are trying to override that default, and as such, must provide a value to use as the override.

    -f    Minimum overlap required as a fraction of A.
        - Default is 1E-9 (i.e., 1bp).
ADD REPLY
0
Entering edit mode

It works......

ADD REPLY

Login before adding your answer.

Traffic: 1828 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6