BackofenLab / CRISPRtracrRNA

7 stars 3 forks source link

How to deal with "list index out of range" #9

Open N-yating opened 9 months ago

N-yating commented 9 months ago

Creating folders if necessary... Running CRISPR array search, it may take a while... Running CRISPR cas search, it may take a while... Working with 5 files

    Working with file 1 - TARA_Cas9_22.fa
    Working with file 2 - TARA_Cas9_12.fa
    Working with file 3 - TARA_Cas9_13.fa
    Working with file 4 - TARA_Cas9_15.fa
    Working with file 5 - TARA_Cas9_20.fa

    Creating the final_summary

    Adding consistency scores to the final summary file

Traceback (most recent call last): File "CRISPRtracrRNA.py", line 47, in main() File "CRISPRtracrRNA.py", line 37, in main dict_weights=dict_weights) File "/share/home/bgi_liusifan/CRISPRtracrRNA-main/modules/pipelines.py", line 35, in init self._pipeline_run() File "/share/home/bgi_liusifan/CRISPRtracrRNA-main/modules/pipelines.py", line 316, in _pipeline_run consistency_score_maker(self.output_file_name, ",", self.output_file_name) File "/share/home/bgi_liusifan/CRISPRtracrRNA-main/modules/consistency_score_maker.py", line 10, in consistency_score_maker header, info_lines = lines[0], lines[1:] IndexError: list index out of range

N-yating commented 9 months ago

it seems like olny the examples can run, how can I solve this problem?