-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
85 additions
and
52 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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
|
||
# Custom targets for testing | ||
|
||
# Database Import | ||
rule test_sqlite_import_assembly: | ||
input: | ||
results_dir + "/sqlite_import/download_assembly.txt" | ||
|
||
rule test_sqlite_import_sra: | ||
input: | ||
results_dir + "/sqlite_import/eager_sra.tsv" | ||
|
||
rule test_sqlite_import_reference: | ||
input: | ||
results_dir + "/sqlite_import/download_assembly.txt" | ||
|
||
# Data Download | ||
rule test_download_sra: | ||
input: | ||
expand(results_dir + "/download_sra/{biosample}/{sra_acc}_1.fastq.gz", | ||
zip, | ||
biosample=identify_sra_sample()["biosample"], | ||
sra_acc=identify_sra_sample()["sra_acc"]) | ||
|
||
rule test_download_fna: | ||
input: | ||
expand(results_dir +"/download_assembly/{sample}.fna", | ||
sample=identify_assembly_sample(), | ||
) | ||
rule test_download_ref: | ||
input: | ||
expand(results_dir +"/download_reference/{sample}.fna", | ||
sample=identify_reference_sample(), | ||
) | ||
# Alignment | ||
rule test_eager_sra: | ||
input: | ||
expand(results_dir + "/eager_sra/damageprofiler/{sra_acc}_rmdup_{biosample}/DamagePlot.pdf", | ||
zip, | ||
sra_acc=identify_sra_sample()["sra_acc"], | ||
biosample=identify_sra_sample()["biosample"]) | ||
|
||
rule test_snippy_pairwise_fna: | ||
input: | ||
expand(results_dir + "/snippy_pairwise/{sample}/{sample}_snippy.aligned.fa", | ||
sample=identify_assembly_sample()) | ||
|
||
# Phylogeny | ||
rule test_iqtree: | ||
input: | ||
expand(results_dir + "/iqtree/iqtree.core-filter{missing_data}.treefile", | ||
missing_data = config["snippy_missing_data"]) |