deepTools icon indicating copy to clipboard operation
deepTools copied to clipboard

bamtobed --> shifting --> bedtobam seems to not work with bamCoverage

Open gdolsten opened this issue 4 years ago • 2 comments

Hi there, I am shifting some reads for nucleosome analysis. Currently, I use bamtobed to create a bed file, I shift this using custom scripts, then I use bedtobam to create a bam file. I sort and index, and try to pass this into bamCoverage, but I get an error: ValueError: need at least one array to concatenate

I use the following command:

bamCoverage --effectiveGenomeSize 2652783500 --normalizeUsing RPGC -b sorted.shifted_nc14.bam -o shifted.bw

Can anyone explain why I am getting this error?

gdolsten avatar Aug 30 '21 02:08 gdolsten

Can you post the entire error back-trace?

dpryan79 avatar Sep 20 '21 18:09 dpryan79

Yeah sorry, let me try to recreate

gdolsten avatar Sep 20 '21 19:09 gdolsten