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

Same as issue #6 #7

Open
jloubser opened this issue Jul 12, 2023 · 3 comments
Open

Same as issue #6 #7

jloubser opened this issue Jul 12, 2023 · 3 comments

Comments

@jloubser
Copy link

Good day,
I get this error when trying to run the pipeline on the example fastqs (I get the same error on my own fastqs as well):

"(transflow) [jloubser@khaos transflow]$ bash transflow.sh --configfile config/configfile.yaml --cores 4
1st step: Generate quality control statistics (based on fastqc and MultiQC) ...
[*] Parsing all samples from the metadata file.

=> Total number of samples: 10

=> Samples are:

['S1', 'S2', 'S3', 'S4', 'S5', 'S6', 'S7', 'S8', 'S9', 'S10']
Wildcard constraints in inputs are ignored. (rule: clip)
Building DAG of jobs...
InputFunctionException in rule merge_reads in file /home/jloubser/transflow/workflow/rules/transition.smk, line 24:
Error:
NameError: name 'subprocess' is not defined
Wildcards:
smp=S1
Traceback:
File "/home/jloubser/transflow/workflow/rules/transition.smk", line 38, in
File "/home/jloubser/transflow/workflow/quality_control.snakefile", line 73, in read_length_from_name
File "/home/jloubser/transflow/workflow/quality_control.snakefile", line 63, in read_length_from_file
2nd step: variants calling (based on MTB pan-genome & bwa + GATK3) ...
FileNotFoundError in file /home/jloubser/transflow/workflow/variant_calling.snakefile, line 19:
[Errno 2] No such file or directory: '2.MTBC_identification/MTBC_samples.txt'
File "/home/jloubser/transflow/workflow/variant_calling.snakefile", line 19, in
3rd step: sample clustering and transmission events predicting (based on transcluster + SeqTrack) ...
FileNotFoundError in file /home/jloubser/transflow/workflow/transmission_analysis.snakefile, line 13:
[Errno 2] No such file or directory: '2.MTBC_identification/MTBC_samples.txt'
File "/home/jloubser/transflow/workflow/transmission_analysis.snakefile", line 13, in
4th step: generating a summary report (html format)..."

@jloubser
Copy link
Author

Additionally, when trying to run it step by step using snakemake I get this error:

(transflow) [jloubser@khaos workflow]$ snakemake quality_control.snakefile --configfile ../config/configfile.yaml --cores 4
Error: no Snakefile found, tried Snakefile, snakefile, workflow/Snakefile, workflow/snakefile.

@jloubser
Copy link
Author

Could it be that the pipeline can't even access the snakemake files since it does not recognize it or am I missing something obvious?
I tried tinkering a bit with the .yaml file and specifying specific versions of Python for example but no luck.

@jloubser
Copy link
Author

I get the same errors when trying to run the pipeline on our server as well as on an Ubuntu machine (wsl subsystem). So it doesnt appear to be system specific.

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