Question: Bedtools fisher test error
0
gravatar for emilyprice16
6 weeks ago by
emilyprice1620
emilyprice1620 wrote:

I want to run the bedtools fisher command. For this I first sort my files using sort -k1,1 -k2,2n.

When I go to run the fisher test:

bedtools fisher -a a_sorted.txt -b b_sorted.txt -g rn6_chrom_sorted.txt

It says

exiting integer conversion of a string “282763074

What am I doing wrong? (The 282763074 is the length of chr 1 in my genome file).

fisher bedtools • 112 views
ADD COMMENTlink modified 6 weeks ago by _r_am31k • written 6 weeks ago by emilyprice1620
0
gravatar for Pierre Lindenbaum
6 weeks ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum131k wrote:

check you don't have any column with a blank character (space, crlf, ... ) near the word '282763074'.

ADD COMMENTlink written 6 weeks ago by Pierre Lindenbaum131k

Thank you! When I used sed to remove crlf and then performed the fisher test it worked!

ADD REPLYlink modified 6 weeks ago • written 6 weeks ago by emilyprice1620
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1273 users visited in the last hour