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

MissingInputException in rule all #33

Open
Jose-LSP opened this issue Apr 30, 2024 · 3 comments
Open

MissingInputException in rule all #33

Jose-LSP opened this issue Apr 30, 2024 · 3 comments

Comments

@Jose-LSP
Copy link

Hi, I'm trying to run the flow via snakemake (snakemake --cores all --use-conda ) but I get this error.

https://raw.githubusercontent.com/akcorut/kGWASflow/v1.3.0/workflow/rules/common.smk:98: SyntaxWarning: invalid escape sequence '\ '
https://raw.githubusercontent.com/akcorut/kGWASflow/v1.3.0/workflow/rules/common.smk:99: SyntaxWarning: invalid escape sequence '\ '
https://raw.githubusercontent.com/akcorut/kGWASflow/v1.3.0/workflow/rules/common.smk:100: SyntaxWarning: invalid escape sequence '\ '
https://raw.githubusercontent.com/akcorut/kGWASflow/v1.3.0/workflow/rules/common.smk:101: SyntaxWarning: invalid escape sequence '\ '
https://raw.githubusercontent.com/akcorut/kGWASflow/v1.3.0/workflow/rules/common.smk:102: SyntaxWarning: invalid escape sequence '_'

==================================================================================

  _     _______          __      _____  __ _                 
 | |   / ____\ \        / /\    / ____|/ _| |                
 | | _| |  __ \ \  /\  / /  \  | (___ | |_| | _____      __  
 | |/ / | |_ | \ \/  \/ / /\ \  \___ \|  _| |/ _ \ \ /\ / /  
 |   <| |__| |  \  /\  / ____ \ ____) | | | | (_) \ V  V /   
 |_|\_\_____|   \/  \/_/    \_\_____/|_| |_|\___/ \_/\_/    

 kGWASflow: A Snakemake Workflow for k-mers Based GWAS                            
                                                                                  
 Date:            2024-04-30 13:55:39
 Author:          Adnan Kivanc Corut
 kGWASflow version:          v1.3
 Snakemake version:          8.11.1
 Python version:             3.12.3

 Snakefile:          https://raw.githubusercontent.com/akcorut/kGWASflow/v1.3.0/workflow/rules/common.smk
 Base directory:     /mnt/lustre/scratch/nlsas/home/csic/bbe/ari/Evosex/WGS/Chreni/sexfindr/step_2/kmersgwas/workflow
 Working directory:  /mnt/lustre/scratch/nlsas/home/csic/bbe/ari/Evosex/WGS/Chreni/sexfindr/step_2/kmersgwas
 Config files:       /mnt/lustre/scratch/nlsas/home/csic/bbe/ari/Evosex/WGS/Chreni/sexfindr/step_2/kmersgwas/config/config.yaml

==================================================================================

 If you use kGWASflow, please cite:                                            

 * Corut, A. K. & Wallace, J. G. kGWASflow: a modular, flexible,                   
 and reproducible Snakemake workflow for k-mers-based GWAS.                        
 bioRxiv (2023). https://doi.org/10.1101/2023.07.10.548365                         

 * Voichek, Y., Weigel, D. Identifying genetic variants underlying                  
 phenotypic variation in plants without complete genomes.                         
 Nat Genet 52, 534–540 (2020). https://doi.org/10.1038/s41588-020-0612-7          

==================================================================================

Assuming unrestricted shared filesystem usage.
Building DAG of jobs...
MissingInputException in rule all in file https://raw.githubusercontent.com/akcorut/kGWASflow/v1.3.0/workflow/Snakefile, line 72:
Missing input files for rule all:
affected files:
results/kmers_table/plink/pheno_/mnt/lustre/scratch/nlsas/home/csic/bbe/ari/Evosex/WGS/Chreni/sexfindr/step_2/kmersgwas/config/phenos.tsv/convert_kmers_table_to_plink.done

Any idea of what's happening?

Thank you.

@owensgl
Copy link

owensgl commented Sep 4, 2024

It's been many months, but I want to say I also have this error and I'm trying to figure out what is going wrong.

@owensgl
Copy link

owensgl commented Sep 5, 2024

I'm not sure if I had the same exact issue, but my problem was when I turned on "kmers_table_to_bed" it gave an error for missing the "convert_kmers_table_to_plink.done" file. I've realized that further on in the config file there is a line:

# phenotype file will be used
phenos: [""]

This needs to be filled in with my phenotype name. When I do that, I no longer get the error. Hope this helps if someone else runs into this issue (and should maybe be flagged more explicitly in the config file)

@Dkyuan
Copy link

Dkyuan commented Nov 7, 2024

I'm not sure if I had the same exact issue, but my problem was when I turned on "kmers_table_to_bed" it gave an error for missing the "convert_kmers_table_to_plink.done" file. I've realized that further on in the config file there is a line:

# phenotype file will be used
phenos: [""]

This needs to be filled in with my phenotype name. When I do that, I no longer get the error. Hope this helps if someone else runs into this issue (and should maybe be flagged more explicitly in the config file).

I also met this error.
It works for me to go through without this error when I turned off "kmers_table_to_bed"; Thanks for your suggestion.
Could you please give an example about how to fill the line in

# phenotype file will be used
phenos: [""]

since I want to run again with "kmers_table_to_bed" turned on.

Thanks for your help.

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

3 participants