-
Notifications
You must be signed in to change notification settings - Fork 145
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
TypeError in calling.smk rule merge_variants. The bwa mapping stops after creating the indexes files. #39
Comments
The
As the I think the fix here would be to use the equivalent And also two side-notes:
|
Hello @dlaehnemann, thank you very much for your answer and sorry about the formatting of my question. I think I don't feel confortable asking for the change because I feel like I am too new to this and don't really feel like I know what I am talking about. Would you be able to do it? Thank you for your suggestion, I would like to use the varlociraptor workflow for dealing with pedigrees, I didn't realise I could also use it for general variant-calling scenarios. |
No worries about the formatting, it's not always clear where and how to find info such as the docs for the GitHub Markdown syntax. And you definitely provided all the info that was needed for figuring out the problem and we need such error reports to fix and improve the workflows. So thanks to you! The issue you report here, should be addressed by pull request #40. Once that is merged, feel free to retest your workflow setup. And as for varlociraptor, you can create all kinds of calling scenarios that can include different kinds of sample dependencies. These can be mendelian inheritance relationships (pedigrees), or clonal inheritance (e.g. tumors and metastases) and all kinds of allele frequency setups. There is a little catalog of example scenarios in the docs: And more detailed docs about how to write such a scenario is here: And also feel free to ask questions in the varlociraptor repository or the repository of the snakemake workflow using varlociraptor. |
Thank you so much for submitting the pull request and for all these info on varlociraptor I will look it up! |
Hello dlaehnemann and ClaraApicella Thank you for this issue, I have the same problem while testing this GATK workflow. But as I am new in snakemake, which file do I have to modify and how can I rerun the modified workflow to fix this please ? The example in the issue #40 is Regards |
Ah, sorry, PR #40 was never quite finished. I'll try and follow it up to get this fixed. Once this PR is merged, I can release a new version of the workflow and you should simply be able to run it with this new version number. |
Thanks David. |
Hello,
I am running the workflow on a small test sample set (n=6) and I get the following error:
`InputFunctionException in rule merge_variants in file https://raw.githubusercontent.com/snakemake-workflows/dna-seq-gatk-variant-calling/v2.1.1/workflow/rules/calling.smk, line 64:
Error:
TypeError: read_table() got an unexpected keyword argument 'squeeze'
Wildcards:
Traceback:
File "https://raw.githubusercontent.com/snakemake-workflows/dna-seq-gatk-variant-calling/v2.1.1/workflow/rules/calling.smk", line 67, in
File "https://raw.githubusercontent.com/snakemake-workflows/dna-seq-gatk-variant-calling/v2.1.1/workflow/rules/common.smk", line 44, in get_contigs`
This appears while bwa is running to generate the index files ( genome.dict, genome.fasta.amb, genome.fasta.ann, genome.fasta.fai, genome.fasta.pac) and the run stops after the .bwt file is completed, but it does not proceed to the mapping step.
I cannot attach the config files becuse the formats are not supported, so I am attaching the .txt version of them.
Could you please help me in solving this issue?
config.txt
samples.txt
units.txt
The text was updated successfully, but these errors were encountered: