-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workflows for isnvs_merge_to_vcf (#864)
* add workflows for isnvs_merge_to_vcf and isnvs_merge_to_vcf_filtered * consolidate isnv workflows * include multiple alignment as part of isnv merge_to_vcf * isnvs_per_sample: also remove ".mapped" from bam file used to infer sample name * make emaill address optional for isnvs_vcf WDL (and for snpEff) * infer snpEff accessions from ref fasta if not provided * wdl corrections * WIP * chain commands with &&; accession parse correction * set -ex -o pipefail * comment change * update snpEff 4.1l -> 4.3.1t * add snpEff integration test * comment out custom tmpdir test fixtures * try older tmpdir fixtures * replace tmpdir_function fixture with tempfile.gettempdir() * revert; incorporate changes from 0191d68 (@notestaff) * only check final snp_eff tabular output * disable stdout capture by pytest for snpeff test * ignore BOM in open_or_gzopen https://en.wikipedia.org/wiki/Byte_order_mark * typo correction * debug * io open * kwarg reorder * debug * revert utf-8-sig * remove debug * correct git merge butchery * skip test_snpeff for now errors occur on Travis that so far have not been reproducible locally * dev notes * allow passage of stderr handle in run_and_print allow passage of stderr handle in run_and_print, defaulting to stdout redirection as before if not specified * stderr=subprocess.STDOUT default in run_and_print * py27 doesn't have subprocess.DEVNULL (thanks, @notestaff) * correcting late night mistakes * assertAlmostEqual for floats in snpEff test * maintain consistent order of inferred sample name w/r/t isnv files * WIP * add --emailAddress syntax to snpEff snakemake rule * WIP * WIP * remove test skipIf
- Loading branch information
Showing
25 changed files
with
981 additions
and
103 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 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import "tasks_interhost.wdl" as interhost | ||
import "tasks_intrahost.wdl" as tasks_intrahost | ||
|
||
workflow isnvs_merge_to_vcf { | ||
File reference_fasta | ||
Array[File]+ assemblies_fasta # one per genome | ||
call interhost.multi_align_mafft_ref as mafft { | ||
input: | ||
reference_fasta = reference_fasta, | ||
assemblies_fasta = assemblies_fasta | ||
} | ||
call tasks_intrahost.isnvs_vcf { | ||
input: | ||
perSegmentMultiAlignments = mafft.alignments_by_chr, | ||
reference_fasta = reference_fasta | ||
} | ||
} |
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
Oops, something went wrong.