hillerlab / make_lastz_chains

Portable solution to generate genome alignment chains using lastz
MIT License
44 stars 8 forks source link

TypeError: 'bool' object is not iterable #62

Open bioluria opened 2 months ago

bioluria commented 2 months ago

I tested make _lastz _chains with the mouse genome mm10 and the human genome hg19, running the script as follows: python3 /home/luria/make_lastz_chains-2.0.8/make_chains.py hg19 mm10 /home/luria/hg19_chrom.fa /home/luria/mm10_chrom.fa --project_dir /home/luria/mm10_vs_hg19

But I got the following error: fatal: Not a git repository (or any parent up to mount point /work) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Make Lastz Chains

Version 2.0.8 Commit: unknown Branch: unknown

Partition Step

Partitioning for target

Saving partitions and creating 26 buckets for lastz output In particular, 23 partitions for bigger chromosomes And 3 buckets for smaller scaffolds Saving target partitions to: /home/luria/mm10_vs_hg19/target_partitions.txt

Partitioning for query

An error occurred while executing partition: 'bool' object is not iterable Traceback (most recent call last): File "/home/luria/make_lastz_chains-2.0.8/modules/step_manager.py", line 70, in execute_steps step_result = step_to_function[step](params, project_paths, step_executables) File "/home/luria/make_lastz_chains-2.0.8/modules/pipeline_steps.py", line 43, in partition_step executables) File "/home/luria/make_lastz_chains-2.0.8/steps_implementations/partition.py", line 80, in do_partition_for_genome bulk_num_to_chroms = create_buckets_for_little_scaffolds(little_scaffolds_to_bulk, chunk_size) File "/home/luria/make_lastz_chains-2.0.8/steps_implementations/partition.py", line 41, in create_buckets_for_little_scaffolds for chrom, size in little_scaffolds_to_bulk or chrom_count_in_bulk >= Constants.MAX_CHROM_IN_BULK: TypeError: 'bool' object is not iterable

jurin0811 commented 1 week ago

Hello, I have the same problem, did you solve it? Maybe using this should also want to use TOGA to do gene conversion, do you have any good software recommendation?Thank you !

MichaelHiller commented 2 days ago

Hi,

this is a weird error, which should in principle occur everytime. @kirilenkobm Do you have an idea how to fix that?

@jurin0811 Did you run the quick test sample successfully? If so, there is a quirk in your data. Otherwise, if the same bool error occurs, something is not right with your system.

Thx