Deeptool ComputeGCBias causes fatal error
0
0
Entering edit mode
5.4 years ago
mfro1505 • 0

Hi together!
I tried to use the deeptool ComputeGCBias with a sorted BAM file as Input. I used a BAM file directly from BWA mapping, a filtered BAM file (SAM tools, Filter SAM or BAM), and an additionally sorted BAM file. I always get the same error code that I cannot explain.

Fatal error: Exit code 1 ()
Traceback (most recent call last):
  File "/usr/local/tools/_conda/envs/mulled-v1-4b8f57f006cc92d851cc49218dae7aad45ffa09ba66fc274bc342ee27143a74c/bin/computeGCBias", line 11, in <module>
    main(args)
  File "/usr/local/tools/_conda/envs/mulled-v1-4b8f57f006cc92d851cc49218dae7aad45ffa09ba66fc274bc342ee27143a74c/lib/python3.6/site-packages/deeptools/computeGCBias.py", line 657, in main
    tbit = py2bit.open(global_vars['2bit'])
RuntimeError: Received an error during file opening!

I appreciate your help so much, thank you!
Best!

deeptools computegcbias software error sequencing • 1.8k views
ADD COMMENT
0
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. I've done it for you this time.
code_formatting

ADD REPLY
0
Entering edit mode

Tagging: Devon Ryan

ADD REPLY
0
Entering edit mode

Please show the full command lines.

ADD REPLY
0
Entering edit mode
ln -s '/data/dnb02/galaxy_db/files/008/052/dataset_8052960.dat' local_bamInput.bam && 
ln -s '/data/dnb02/galaxy_db/files/_metadata_files/000/144/metadata_144274.dat' local_bamInput.bam.bai &&  
computeGCBias --numberOfProcessors "${GALAXY_SLOTS:-4}" --bamfile local_bamInput.bam
--GCbiasFrequenciesFile /data/dnb02/galaxy_db/files/008/053/dataset_8053017.dat    
--genome  '/data/db/data_managers/mm10/seq/mm10.2bit,/data/db/reference_genomes/mm10/seq/mm10.2bit'  
--effectiveGenomeSize 2308125349  
--biasPlot /data/dnb02/galaxy_db/files/008/053/dataset_8053018.dat 
--plotFileFormat png
ADD REPLY
0
Entering edit mode

Try putting only one .2bit file here. (And you typed two spaces between genome and '/data... here. Idk if it's wrong in command)

--genome  '/data/db/data_managers/mm10/seq/mm10.2bit,/data/db/reference_genomes/mm10/seq/mm10.2bit'

Like this line:

--genome /data/db/data_managers/mm10/seq/mm10.2bit
ADD REPLY
0
Entering edit mode

Where'd you get the 2bit file?

ADD REPLY
0
Entering edit mode

having the same issue here. I made the 2bit file by using the UCSC tool faToTwoBit with the GRCH38 genoma.fa file from illumina iGenomes

ADD REPLY
0
Entering edit mode

Please do not add answers unless you're answering the top level question. Use Add Comment or Add Reply as appropriate. I've moved your post to a comment this time.

ADD REPLY

Login before adding your answer.

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