vaquerizaslab / fanc

FAN-C: Framework for the ANalysis of C-like data
GNU General Public License v3.0
107 stars 14 forks source link

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

Open LHXqwq opened 3 months ago

LHXqwq commented 3 months ago

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