-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi,
I tried to use the juicebox_assembly_converter.py script to generate the fasta file, but there seems to be something wrong in the assembly file to prevent this process.
The assembly file was generated from Juicerbox_1.11.08.
here is the command line:
python juicebox_assembly_converter.py -a new_assembly_file -f cx_geno.fasta
Processing assembly file. Details:
Assembly: new_assembly_file
Fasta: cx_geno.fasta
Output prefix: new_assembly_file
Contig mode: False
Simple Chromosome Names: False
Reading sequences from cx_geno.fasta...
.
Sequences read
Reading .assembly file new_assembly_file...
.assembly read
Traceback (most recent call last):
File "/home/20092008/software/juicebox_scripts/juicebox_scripts/juicebox_assembly_converter.py", line 872, in <module>
processed_assembly = JuiceboxConverter().process(fasta, assembly,
File "/home/20092008/software/juicebox_scripts/juicebox_scripts/juicebox_assembly_converter.py", line 91, in process
sequences = self._add_breaks(sequences, assembly_map)
File "/home/20092008/software/juicebox_scripts/juicebox_scripts/juicebox_assembly_converter.py", line 255, in _add_breaks
assembly_map.sort(key=functools.cmp_to_key(cmp_assembly_map_entries))
File "/home/20092008/software/juicebox_scripts/juicebox_scripts/juicebox_assembly_converter.py", line 331, in cmp_assembly_map_entries
names1 = extract_contig_info(frag1[0])
File "/home/20092008/software/juicebox_scripts/juicebox_scripts/juicebox_assembly_converter.py", line 368, in extract_contig_info
names["index"] = int(frag_fiel
[cx_geno_hic.final.review.assembly.txt](https://github.com/phasegenomics/juicebox_scripts/files/7834628/cx_geno_hic.final.review.assembly.txt)
ds[-1].replace("fragment_", ""))
ValueError: invalid literal for int() with base 10: '122:prefix'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels