Closed yuan-circle-long closed 3 months ago
Building DAG of jobs...
InputFunctionException in rule download_reference in file /home/aiworkstation/snpArcher/workflow/rules/reference.smk, line 3:
Error:
IndexError: list index out of range
Wildcards:
refGenome=ref
Traceback:
File "/home/aiworkstation/snpArcher/workflow/rules/common.smk", line 79, in get_ref
This looks like an error parsing your sample sheet. Can you confirm that your sample sheet is comma-separated and looks the same as the example sample sheet?
Thanks for your help very much! Compared with the example sample sheet, the ref path in my sample sheet is a directory not a fasta file. l modify the sample sheet and the code runs no problem.
Sorry to bother you again.
In my project, the cores number is set to 48, and the memory is 100000. But using the top command shows the cpu used is just 100%,is this condition is normal?
the resource file
the cpu used
My computer hardware
About my data, the reference genome is about 8GB, and each sample is about 3GB. l used the GBS sequencing method.
Memory usage seems to be normal now.
Hi @yuan-circle-long, glad its working as expected.
the environment is ok when using "snakemake -d .test/ecoli --cores 1 --use-conda" to test.
I tried to set up the cores using "snakemake --cores 8 --use-conda" and encountered an error.
l also executed my own data, and the same error was happened.
The error message relates to three files: reference.smk, common.smk, and Snakefile. However, I did not change these files. l only changed the parameters of resources.ymal.
The code is on the main disk and the sequencing files are on another disk. For testing purposes, I chose three samples to build the sample table.![image](https://github.com/harvardinformatics/snpArcher/assets/135928920/714ac6d2-938f-45c4-a085-e1a3f84a9141)
Best wishes