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

The command fanc compartments -r 5 encountered an error #195

Open
LHXqwq opened this issue Jul 31, 2024 · 0 comments
Open

The command fanc compartments -r 5 encountered an error #195

LHXqwq opened this issue Jul 31, 2024 · 0 comments

Comments

@LHXqwq
Copy link

LHXqwq commented Jul 31, 2024

Hello, when I ran the following command, an error occurred. What might be the reason?

fanc compartments -g Sus_scrofa.Sscrofa11.1.dna.toplevel_rmXYMT.fa
--compartment-strength 4-192-2.ABstrength.txt 4-192-2.clean.allValidPairs.hic@1mb 4-192-2.ab -d 4-192-2.domain.bed -v 4-192-2.eigenvector.bed
-e 4-192-2.1.png -m 4-192-2.enrichment_matrix.txt -r 5

Traceback (most recent call last):
File "/home/lihaoxing/miniconda3/bin/fanc", line 127, in
Fanc()
File "/home/lihaoxing/miniconda3/bin/fanc", line 93, in init
command([sys.argv[0]] + sys.argv[option_ix:], log_level=log_level, verbosity=verbosity)
File "/home/lihaoxing/miniconda3/lib/python3.9/site-packages/fanc/commands/fanc_commands.py", line 4171, in compartments
domains = ab_matrix.domains(sub_region=region_subset, genome=genome_file,
File "/home/lihaoxing/miniconda3/lib/python3.9/site-packages/fanc/architecture/compartments.py", line 367, in domains
(ev[i] < 0) == (current_ev_scores[0] < 0):
IndexError: index 105 is out of bounds for axis 0 with size 105

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