Closed parlar closed 8 years ago
Pär; Sorry about the install issue. Is this a slightly older version of bcbio? There was a problem late last year with this due to having incompatible versions of numpy packages (there was a switch from numpy 1.9 to 1.10). There is a workaround here which should hopefully get your packages up to date and in sync:
https://github.com/chapmanb/bcbio-nextgen/issues/1105#issuecomment-155372386
Hope this fixes it for you. If not, feel free to re-open and we can investigate more.
Hi!
I updated to the latest devel release of bcbio-nextgen. The error looks somewhat different now: no complaints about numpy this time. Instead, it complains about bcbio.variation.bedutils.remove_bad(x)
and AttributeError: 'module' object has no attribute 'bedutils'
.
I guess this does not have anything to do with numpy?
[2016-04-04T14:00Z] Checking sample YAML configuration: /home/genetik/irina/bams/calling_2016.04.01-14.32.17/config/config.yaml
[2016-04-04T14:00Z] Testing minimum versions of installed programs
[2016-04-04T14:00Z] Timing: alignment preparation
[2016-04-04T14:00Z] multiprocessing: prep_align_inputs
[2016-04-04T14:00Z] multiprocessing: disambiguate_split
[2016-04-04T14:00Z] Timing: alignment
[2016-04-04T14:00Z] multiprocessing: process_alignment
[2016-04-04T14:00Z] Timing: callable regions
[2016-04-04T14:00Z] multiprocessing: prep_samples
[2016-04-04T14:00Z] Prepare cleaned BED file : bams/11-7401_S6_bam
[2016-04-04T14:00Z] Traceback (most recent call last):
[2016-04-04T14:00Z] File "<string>", line 1, in <module>
[2016-04-04T14:00Z] bcbio.variation.bedutils.remove_bad(x)
[2016-04-04T14:00Z] AttributeError: 'module' object has no attribute 'bedutils'
[2016-04-04T14:00Z] Prepare merged BED file : bams/11-7401_S6_bam
[2016-04-04T14:00Z] Prepare cleaned BED file : bams/12-304_S8_bam
[2016-04-04T14:00Z] Traceback (most recent call last):
[2016-04-04T14:00Z] File "<string>", line 1, in <module>
[2016-04-04T14:00Z] bcbio.variation.bedutils.remove_bad(x)
[2016-04-04T14:00Z] AttributeError: 'module' object has no attribute 'bedutils'
[2016-04-04T14:00Z] Prepare merged BED file : bams/12-304_S8_bam
[2016-04-04T14:00Z] Prepare cleaned BED file : bams/13-6849_S1_bam
[2016-04-04T14:00Z] Traceback (most recent call last):
[2016-04-04T14:00Z] File "<string>", line 1, in <module>
[2016-04-04T14:00Z] bcbio.variation.bedutils.remove_bad(x)
[2016-04-04T14:00Z] AttributeError: 'module' object has no attribute 'bedutils'
[2016-04-04T14:00Z] Prepare merged BED file : bams/13-6849_S1_bam
[2016-04-04T14:00Z] Prepare cleaned BED file : bams/14-5639_S4_bam
[2016-04-04T14:00Z] Traceback (most recent call last):
[2016-04-04T14:00Z] File "<string>", line 1, in <module>
[2016-04-04T14:00Z] bcbio.variation.bedutils.remove_bad(x)
[...]
Sorry about the continued problems. This looks like you've gotten a working set of numpy libraries now and moved past the initial error. The new error looks like you're getting an old version of bcbio without the bedutils module. This could either be due to having your PYTHONPATH or PYTHONHOME set to an older version. Is it possible you're exporting these or have another version of bcbio on the system that might cause the conflict? Hope this helps.
PYTHONPATH was indeed set. Now everything seems to work, thanks for your help!
Hi!
Using bam files as input with the
bam_clean: picard
setting in the config file produces an error when bcbio_nextgen is run (see below). Maybe I'm doing something wrong here, or is this a bug?Here is an exerpt from the config file: