Open infWang opened 7 months ago
The check in the screening step is for 'group' or 'personalized', but the script that writes the parameter file uses 'group' or 'individual' which matches with the comment in the snakemake config. Everything should be updated to either personalized or individual: https://github.com/Xinglab/IRIS/blob/v2.0.1/IRIS/IRIS_screening.py#L370 https://github.com/Xinglab/IRIS/blob/v2.0.1/scripts/write_param_file.py#L54
I manually edited screen.para
to use 'personalized' and was able to get the error message. Here's the line for that log message:
https://github.com/Xinglab/IRIS/blob/master/IRIS/IRIS_screening.py#L494
It's checking for output in a particular file, but which file it checks seems to depend on whether any tissue_matched_normal
groups are configured. A few lines earlier there is an individual_test
section with a TODO comment that writes to the file that's checked with tissue_matched_normal
: https://github.com/Xinglab/IRIS/blob/master/IRIS/IRIS_screening.py#L472
You could try running with a value in tissue_matched_normal_reference_group_names
and the other tissue_matched_normal
config values filled in
I tried to fill in one value in tissue_matched_normal_reference_group_names and other tissue_matched_normal configuration values, but encountered the following prompt.
rule iris_predict:
input: results/docker_test/screen.para, results/docker_test/screen/docker_test.SE.test.all_guided.txt, results/docker_test/hla_typing/hla_types.list, results/docker_test/exp_matrix/exp.merged_matrix.docker_test.txt
output: results/docker_test/screen/docker_test.SE.tier1.txt.ExtraCellularAS.txt, results/docker_test/screen/docker_test.SE.tier2tier3.txt.ExtraCellularAS.txt
log: results/docker_test/iris_predict_log.out, results/docker_test/iris_predict_log.err
jobid: 3
reason: Missing output files: results/docker_test/screen/docker_test.SE.tier1.txt.ExtraCellularAS.txt, results/docker_test/screen/docker_test.SE.tier2tier3.txt.ExtraCellularAS.txt; Input files updated by another job: results/docker_test/screen/docker_test.SE.test.all_guided.txt
resources: tmpdir=/tmp, mem_mb=184320, time_hours=12
if [[ -n "$(ls results/docker_test/predict_tasks/pep2epitope_SE.tier*.*.sh)" ]]; then rm results/docker_test/predict_tasks/pep2epitope_SE.tier*.*.sh; fi; /IRIS/IRIS/conda_wrapper /IRIS/IRIS/conda_env_2 IRIS predict results/docker_test/screen --task-dir results/docker_test/predict_tasks --parameter-fin results/docker_test/screen.para --splicing-event-type SE --iedb-local /IRIS/IRIS/IEDB/mhc_i/src --mhc-list results/docker_test/hla_typing/hla_types.list --gene-exp-matrix results/docker_test/exp_matrix/exp.merged_matrix.docker_test.txt 1> results/docker_test/iris_predict_log.out 2> results/docker_test/iris_predict_log.err
**ls: cannot access 'results/docker_test/predict_tasks/pep2epitope_SE.tier*.*.sh': No such file or directory**
Waiting at most 1800 seconds for missing files.
^CTerminating processes on user request, this might take some time.
workflow error
Complete log: .snakemake/log/2024-03-29T011058.832286.snakemake.log
(base) [root@0ce034d40801 IRIS]# cat results/docker_test/iris_predict_log.err
(base) [root@0ce034d40801 IRIS]# cat results/docker_test/iris_predict_log.out
[INFO] Total extracellular annotation loaded: 54990
[INFO] No tier1 comparisons (tissue-matched normal) found. Use tier2&tier3 only mode.
[INFO] Total HLA types loaded: 6 . Total peptide splice junctions loaded: 0
Thank you very much for your patient and detailed explanations earlier. Recently, when I was using IRIS in individual mode with a single sample, the following error occurred:
and here is the log:
additionally, here is my "snakemake_config.yaml" file:
I would greatly appreciate it if you could provide any suggestions. If possible, I would also like a "snakemake_config.yaml" file template for the individual mode.
Looking forward to your reply. Thanks again.