We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Firstly, thanks so much for the workflow, it's mostly working fine.
However, I'm receiving the following error when providing SRA input instead of fq1/fq2 (hard-files):
InputFunctionException in line 1 of https://github.com/snakemake-workflows/rna-seq-star-deseq2/raw/v1.2.0/workflow/rules/align.smk: Error: KeyError: 'fq1' Wildcards: sample=SRR5344335 unit=lane1 Traceback: File "https://github.com/snakemake-workflows/rna-seq-star-deseq2/raw/v1.2.0/workflow/rules/common.smk", line 109, in get_fq
This seems to correspond to the following code:
u = units.loc[(wildcards.sample, wildcards.unit), ["fq1", "fq2"]].dropna() if pd.isna(u["fq1"]):
where the first line is dropping the columns fq1/fq2 as they are empty, and line 2 is then false, so the accession is not defined/throws an error.
Here are the two input files. Working fine with fq1/fq1 input, but not with SRR input.
Thanks! Sam
The text was updated successfully, but these errors were encountered:
fix: make specification of SRA samples in samples.tsv work (common.smk)
683c611
closes #52
Successfully merging a pull request may close this issue.
Hi,
Firstly, thanks so much for the workflow, it's mostly working fine.
However, I'm receiving the following error when providing SRA input instead of fq1/fq2 (hard-files):
InputFunctionException in line 1 of https://github.com/snakemake-workflows/rna-seq-star-deseq2/raw/v1.2.0/workflow/rules/align.smk:
Error:
KeyError: 'fq1'
Wildcards:
sample=SRR5344335
unit=lane1
Traceback:
File "https://github.com/snakemake-workflows/rna-seq-star-deseq2/raw/v1.2.0/workflow/rules/common.smk", line 109, in get_fq
This seems to correspond to the following code:
u = units.loc[(wildcards.sample, wildcards.unit), ["fq1", "fq2"]].dropna()
if pd.isna(u["fq1"]):
where the first line is dropping the columns fq1/fq2 as they are empty, and line 2 is then false, so the accession is not defined/throws an error.
Here are the two input files. Working fine with fq1/fq1 input, but not with SRR input.
Thanks!
Sam
The text was updated successfully, but these errors were encountered: