Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added wrapper-utils, and tempdirs (#467)
* Added wrapper-utils, and tempdirs * Added inference of index format * Update wrapper utils Co-authored-by: Johannes Köster <johannes.koester@uni-due.de>
- Loading branch information
1 parent
6695486
commit 48c49a9
Showing
42 changed files
with
224 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ channels: | |
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- bcftools =1.11 | ||
- bcftools =1.14 | ||
- snakemake-wrapper-utils =0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name: bcftools call | ||
description: Call variants with `bcftools call <https://samtools.github.io/bcftools/bcftools.html#call>`_. | ||
description: Call variants with `bcftools call`. | ||
url: http://www.htslib.org/doc/bcftools.html#call | ||
authors: | ||
- Johannes Köster | ||
- Michael Hall | ||
- Filipe G. Vieira | ||
notes: | | ||
* The `uncompressed_bcf` param allows to specify that a BCF output should be uncompressed (ignored otherwise). | ||
* The `extra` param allows for additional program arguments (not `--threads`, `-o/--output`, or `-O/--output-type`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
name: bcftools filter | ||
description: filter vcf/bcf file. | ||
url: http://www.htslib.org/doc/bcftools.html#filter | ||
authors: | ||
- Patrik Smeds | ||
- Nikos Tsardakas Renhuldt | ||
- Filipe G. Vieira | ||
input: | ||
- VCF/BCF file | ||
output: | ||
- Filtered VCF/BCF file | ||
notes: | | ||
* The `uncompressed_bcf` param allows to specify that a BCF output should be uncompressed (ignored otherwise). | ||
* The `bcftools_use_mem` param controls whether to pass the resources.mem_mb to bcftools | ||
* The `extra` param allows for additional program arguments (not `--threads, `-O/--output-type`, `-m/--max-mem`, or `-T/--temp-dir`). | ||
* For more information see, https://samtools.github.io/bcftools/bcftools.html | ||
* The `extra` param allows for additional program arguments (not `--threads`, `-o/--output`, or `-O/--output-type`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ channels: | |
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- bcftools =1.11 | ||
- bcftools =1.14 | ||
- snakemake-wrapper-utils =0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
name: bcftools index | ||
description: Index vcf/bcf file. For more information see `BCFtools documentation <https://www.htslib.org/doc/bcftools.html#index>`_. | ||
description: Index vcf/bcf file. | ||
url: http://www.htslib.org/doc/bcftools.html#index | ||
authors: | ||
- Jan Forster | ||
- Filipe G. Vieira | ||
notes: | | ||
* The `extra` param allows for additional program arguments (not `--threads`, `-o/--output`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
rule bcftools_index: | ||
input: | ||
"a.bcf" | ||
"a.bcf", | ||
output: | ||
"a.bcf.csi" | ||
"a.bcf.csi", | ||
log: | ||
"index/a.log", | ||
params: | ||
extra="" # optional parameters for bcftools index | ||
extra="", # optional parameters for bcftools index | ||
wrapper: | ||
"master/bio/bcftools/index" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ channels: | |
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- bcftools =1.11 | ||
- bcftools =1.14 | ||
- snakemake-wrapper-utils =0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
name: bcftools merge | ||
description: Merge vcf/bcf files with bcftools. For more information see `BCFtools documentation <https://www.htslib.org/doc/bcftools.html#merge>`_. | ||
description: Merge vcf/bcf files with bcftools. | ||
url: http://www.htslib.org/doc/bcftools.html#merge | ||
authors: | ||
- Patrik Smeds | ||
- Filipe G. Vieira | ||
notes: | | ||
* The `uncompressed_bcf` param allows to specify that a BCF output should be uncompressed (ignored otherwise). | ||
* The `extra` param allows for additional program arguments (not `--threads`, `-o/--output`, or `-O/--output-type`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
rule bcftools_merge: | ||
input: | ||
calls=["a.bcf", "b.bcf"] | ||
calls=["a.bcf", "b.bcf"], | ||
output: | ||
"all.bcf" | ||
"all.bcf", | ||
log: | ||
"all.log" | ||
params: | ||
"" # optional parameters for bcftools concat (except -o) | ||
uncompressed_bcf=False, | ||
extra="", # optional parameters for bcftools concat (except -o) | ||
wrapper: | ||
"master/bio/bcftools/merge" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ channels: | |
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- bcftools =1.11 | ||
- bcftools =1.14 | ||
- snakemake-wrapper-utils =0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
name: bcftools mpileup | ||
description: Generate VCF or BCF containing genotype likelihoods for one or multiple alignment (BAM or CRAM) files with `bcftools mpileup <https://samtools.github.io/bcftools/bcftools.html#mpileup>`_. | ||
description: Generate VCF or BCF containing genotype likelihoods for one or multiple alignment (BAM or CRAM) files. | ||
url: http://www.htslib.org/doc/bcftools.html#mpileup | ||
authors: | ||
- Michael Hall | ||
- Filipe G. Vieira | ||
notes: | | ||
* The `uncompressed_bcf` param allows to specify that a BCF output should be uncompressed (ignored otherwise). | ||
* The `extra` param allows for additional program arguments (not `--threads`, `-f/--fasta-ref`, `-o/--output`, or `-O/--output-type`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
name: bcftools norm | ||
description: Left-align and normalize indels, check if REF alleles match the reference, split multiallelic sites into multiple rows; recover multiallelics from multiple rows. For more information see `BCFtools documentation <https://www.htslib.org/doc/bcftools.html#norm>`_. | ||
description: Left-align and normalize indels, check if REF alleles match the reference, split multiallelic sites into multiple rows; recover multiallelics from multiple rows. | ||
url: http://www.htslib.org/doc/bcftools.html#norm | ||
authors: | ||
- Dayne Filer | ||
- Filipe G. Vieira | ||
notes: | | ||
* The `uncompressed_bcf` param allows to specify that a BCF output should be uncompressed (ignored otherwise). | ||
* The `extra` param allows for additional program arguments (not `--threads`, `-f/--fasta-ref`, `-o/--output`, or `-O/--output-type`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ channels: | |
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- bcftools =1.11 | ||
- bcftools =1.14 | ||
- snakemake-wrapper-utils =0.4 |
Oops, something went wrong.