Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some error #11

Open
wjq1981 opened this issue Jan 21, 2025 · 0 comments
Open

some error #11

wjq1981 opened this issue Jan 21, 2025 · 0 comments

Comments

@wjq1981
Copy link

wjq1981 commented Jan 21, 2025

Hi, I try to run my data and I get the following error, but I can't figure it out. I tested your data and it is working fine. I found some discrepancies in the fai file? But I'm not sure if this is causing it. Thank you very much.

ntsynt_viz_format_blocks_gggenomes.py --fai 6LQ.fa.fai 8ZT.fa.fai 3LJ.fa.fai 2XZ.fa.fai 5HH.fa.fai --prefix great-apes_ribbon-plots_no-tree --blocks ntSynt.k24.w1000.synteny_blocks.renamed.sorted.blocks.tsv --length 100000 --seq-length 500000 --colour 6LQ.fa
Traceback (most recent call last):
File "/soft/ntSynt-viz-1.0.0/bin/ntsynt_viz_format_blocks_gggenomes.py", line 213, in
main()
File "/soft/ntSynt-viz-1.0.0/bin/ntsynt_viz_format_blocks_gggenomes.py", line 201, in main
valid_block_ids, keep_seqs = find_valid_blocks(args.blocks, args.length, keep_blocks, fais, args.seq_length)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/soft/ntSynt-viz-1.0.0/bin/ntsynt_viz_format_blocks_gggenomes.py", line 149, in find_valid_blocks
not is_over_seq_length_threshold(curr_block, seq_length_threshold, fais):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/soft/ntSynt-viz-1.0.0/bin/ntsynt_viz_format_blocks_gggenomes.py", line 129, in is_over_seq_length_threshold
return fais[block.genome][block.chrom] > seq_length_threshold
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant