Deeptools: computeMatrix can't read file
1
0
Entering edit mode
3.0 years ago
yomogy ▴ 120

Hi,

I generated bigwig file using bamCoverage with the following code.

bamCoverage -b A.bam -o A.bw --binSize 10 -p max --normalizeUsing CPM

Then, I tried to use computeMatrix

computeMatrix -S A.bw -R B.bw -o C

but I got the following error

usage: computeMatrix [-h] [--version]  ...
computeMatrix: error: argument : invalid choice: 'A.bw' (choose from 'scale-regions', 'reference-point')

I am wondering whether anybody had similar problems.

deeptools • 2.4k views
ADD COMMENT
0
Entering edit mode
3.0 years ago
GenoMax 141k

An example usage is:

  computeMatrix scale-regions -S <biwig file(s)> -R <bed file> -b 1000

You need to include 'scale-regions' OR 'reference-point' before your options.

ADD COMMENT
0
Entering edit mode

Thanks, it works.

ADD REPLY
0
Entering edit mode

Hi GenoMax, I have these bigwing files and want to run computeMatrix but could not understand what -R <bed file>. would please explain me what is this -R <bed file> and where I can find it? Thank you so much for your help! best, ad

ADD REPLY
0
Entering edit mode

Those are regions you want to compute the matrix for in BED or GTF format.

ADD REPLY
0
Entering edit mode

Thanks ! But to get those files I am suppose to convert the Reference Genome Annotation in gff3 to bed?

ADD REPLY
0
Entering edit mode

As the manual indicates:

Typically, the genome regions are genes, but any other regions defined in a BED file can be used.

ADD REPLY

Login before adding your answer.

Traffic: 2878 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