annotate pharmcat.xml @ 1:8005ce1418ac draft default tip

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
author bgruening
date Thu, 05 May 2022 20:26:42 +0000
parents 28aa54c800c0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
1 <tool id="pharmcat" name="pharmCAT" version="@WRAPPER_VERSION@+@VERSION_SUFFIX@" profile="20.01">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
2 <description>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
3 Pharmacogenomics Clinical Annotation Tool
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
4 </description>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
5 <macros>
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
6 <token name="@WRAPPER_VERSION@">1.7.0</token>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
7 <token name="@VERSION_SUFFIX@">galaxy0</token>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
8 </macros>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
9 <requirements>
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
10 <container type="docker">pgkb/pharmcat:1.7.0</container>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
11 </requirements>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
13 ## NAMECALLER FUNCTION
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
14 #if $function_select.function == 'name':
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
15 ln -s '$function_select.input' ./input.vcf &&
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
16 java -cp /pharmcat/pharmcat.jar
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
17 org.pharmgkb.pharmcat.haplotype.NamedAlleleMatcher
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
18 -vcf input.vcf
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
19 -json output.json
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
20 -html output.html
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
21
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
22 ## PHENOTYPE CALLER FUNCTION
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
23 #else if $function_select.function == 'pheno':
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
24 #if $function_select.method.pheno_function == 'vcf':
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
25 ln -s '$function_select.method.input' ./input.vcf &&
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
26 java -cp /pharmcat/pharmcat.jar
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
27 org.pharmgkb.pharmcat.phenotype.Phenotyper
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
28 -vcf input.vcf
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
29 #else:
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
30 ln -s '$function_select.method.input' ./input.json &&
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
31 java -cp /pharmcat/pharmcat.jar
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
32 org.pharmgkb.pharmcat.phenotype.Phenotyper
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
33 -c input.json
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
34 #end if
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
35 #if $function_select.outside_call:
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
36 -o $function_select.outside_call
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
37 #end if
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
38 -f output.json
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
39
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
40 ## REPORTER FUNCTION
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
41 #else if $function_select.function == 'report':
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
42 ln -s '$function_select.input' ./input.json &&
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
43 java -cp /pharmcat/pharmcat.jar
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
44 org.pharmgkb.pharmcat.reporter.Reporter
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
45 -p input.json
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
46 #if $function_select.title:
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
47 -t '$function_select.title'
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
48 #end if
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
49 -j output.json
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
50 -o output.html
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
51
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
52 ## ALL FUNCTIONS
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
53 #else:
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
54 ln -s '$function_select.input' ./input.vcf &&
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
55 java -jar /pharmcat/pharmcat.jar
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
56 -vcf input.vcf
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
57 -o output
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
58 -f pharmCAT_report_Galaxy
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
59 #if $function_select.outside_call:
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
60 -a $function_select.outside_call
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
61 #end if
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
62 $function_select.json
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
63 $function_select.phenojson
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
64 #end if
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
65 ]]></command>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
66 <inputs>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
67 <conditional name="function_select">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
68 <param name="function" type="select" label="Which function of PharmCAT should be run?">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
69 <option value="all">Full PharmCAT pipeline</option>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
70 <option value="name">Only named allele matcher</option>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
71 <option value="pheno">Only phenotyper</option>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
72 <option value="report">Only reporter</option>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
73 </param>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
74 <when value="all">
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
75 <param name="input" argument="-vcf" type="data" format="vcf" label="Input vcf file"
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
76 help="Must be formatted in modified official VCF format as detailed here: https://github.com/PharmGKB/PharmCAT/wiki/VCF-Requirements"/>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
77 <param name="outside_call" argument="-a" type="data" format="tsv,tabular" label="Gene call TSV file from an outside tool" optional="true"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
78 <param name="json" argument="-j" type="boolean" truevalue="-j" falsevalue="" label="Output reporter JSON report"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
79 <param name="phenojson" argument="-pj" type="boolean" truevalue="-pj" falsevalue="" label="Output phenotyper JSON report"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
80 <!-- <param name="definitions" argument="-na" type="data" format="list" label="Alternative allele definitions" help="a directory containing allele definitions to use instead of the default packaged allele definitions"/> -->
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
81 </when>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
82 <when value="name">
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
83 <param name="input" argument="-vcf" type="data" format="vcf" label="Input vcf file"
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
84 help="Must be formatted in modified official VCF format as detailed here: https://github.com/PharmGKB/PharmCAT/wiki/VCF-Requirements"/>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
85 <!-- <param name="definitions" argument="-d" type="data" format="list" label="Alternative allele definitions" help="a directory containing allele definitions to use instead of the default packaged allele definitions"/> -->
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
86 </when>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
87 <when value="pheno">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
88 <conditional name="method">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
89 <param name="pheno_function" type="select" label="Which function of PharmCAT should be run?">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
90 <option value="vcf">Run directly from vcf samples</option>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
91 <option value="named">Run from the output of the NamedAlleleMatcher</option>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
92 </param>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
93 <when value="vcf">
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
94 <param name="input" argument="-vcf" type="data" format="vcf" label="Input vcf file"
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
95 help="Must be formatted in modified official VCF format as detailed here: https://github.com/PharmGKB/PharmCAT/wiki/VCF-Requirements"/>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
96 </when>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
97 <when value="named">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
98 <param name="input" argument="-c" type="data" format="json" label="Input json file" help="JSON output of the NamedAlleleCaller pharmcat function"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
99 </when>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
100 </conditional>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
101 <param name="outside_call" argument="-o" type="data" format="tabular,tsv" label="Optional TSV of outside caller information" optional="true"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
102 </when>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
103 <when value="report">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
104 <param name="input" argument="-p" type="data" format="json" label="JSON call data output from Phenotyper pharmCAT function"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
105 <param name="title" argument="-t" type="text" label="text to add to the report title" optional="true"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
106 </when>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
107 </conditional>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
108 </inputs>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
109 <outputs>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
110 <data name="all_out" from_work_dir="output/pharmCAT_report_Galaxy.report.html" format="html" label="Full pharmCAT report on ${on_string}">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
111 <filter>function_select['function'] == "all"</filter>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
112 </data>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
113 <data name="all_pheno" from_work_dir="output/pharmCAT_report_Galaxy.phenotyper.json" format="json" label="pharmCAT Phenotyper report on ${on_string}">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
114 <filter>function_select['function'] == "all" and function_select["phenojson"]</filter>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
115 </data>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
116 <data name="all_out_json" from_work_dir="output/pharmCAT_report_Galaxy.report.json" format="json" label="pharmCAT Reporter JSON on ${on_string}">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
117 <filter>function_select['function'] == "all" and function_select["json"]</filter>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
118 </data>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
119 <data name="namer_html" from_work_dir="output.html" format="html" label="pharmCAT NamedAlleleMatcher html report on ${on_string}">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
120 <filter>function_select['function'] == "name"</filter>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
121 </data>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
122 <data name="namer_json" from_work_dir="output.json" format="json" label="pharmCAT NamedAlleleMatcher json report on ${on_string}">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
123 <filter>function_select['function'] == "name"</filter>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
124 </data>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
125 <data name="pheno_json" from_work_dir="output.json" format="json" label="pharmCAT Phenotyper report on ${on_string}">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
126 <filter>function_select['function'] == "pheno"</filter>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
127 </data>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
128 <data name="report_html" from_work_dir="output.html" format="html" label="pharmCAT Reporter html report on ${on_string}">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
129 <filter>function_select['function'] == "report"</filter>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
130 </data>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
131 <data name="report_json" from_work_dir="output.json" format="json" label="pharmCAT Reporter json report on ${on_string}">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
132 <filter>function_select['function'] == "report"</filter>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
133 </data>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
134 </outputs>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
135 <tests>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
136 <!-- ALL FUNCTION -->
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
137 <test expect_num_outputs="3">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
138 <conditional name="function_select">
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
139 <param name="input" value="test.vcf" ftype="vcf" />
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
140 <param name="outside_call" value="test.tsv" ftype="tabular"/>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
141 <param name="json" value="-j"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
142 <param name="phenojson" value="-pj"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
143 </conditional>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
144 <output name="all_out">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
145 <assert_contents>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
146 <has_text text="rs9923231 reference"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
147 <has_text text="Very high risk of developing hearing loss if administered an aminoglycoside antibiotic."/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
148 <has_text text="CPIC Allele Function, Phenotype and Recommendation"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
149 </assert_contents>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
150 </output>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
151 <output name="all_pheno" file="test_1.pheno.json" lines_diff="1"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
152 <output name="all_out_json">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
153 <assert_contents>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
154 <has_text text="Therapeutic range of 200 to 1000 ng/mL has been proposed (PMID 29493375)."/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
155 <has_text text="Activity Score for CYP2D6"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
156 <has_text text="Implementation Consortium (CPIC) Guideline for CYP2D6 Genotype and Use of Ondansetron and Tropisetron"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
157 </assert_contents>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
158 </output>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
159 </test>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
160 <!-- NAMECALLER -->
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
161 <test expect_num_outputs="2">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
162 <conditional name="function_select">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
163 <param name="function" value="name"/>
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
164 <param name="input" value="test.vcf" ftype="vcf"/>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
165 </conditional>
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
166 <output name="namer_html" file="test_2.html" lines_diff="4" ftype="html" />
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
167 <output name="namer_json" file="test_2.json" lines_diff="2" ftype="json" />
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
168 </test>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
169 <!-- PHENOTYPER FROM VCF WITH OUTSIDE CALLER-->
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
170 <test expect_num_outputs="1">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
171 <conditional name="function_select">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
172 <param name="function" value="pheno"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
173 <conditional name="method">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
174 <param name="pheno_function" value="vcf"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
175 <param name="input" ftype="vcf" value="test.vcf"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
176 </conditional>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
177 <param name="outside_call" value="test.tsv"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
178 </conditional>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
179 <output name="pheno_json" file="test_3.json" lines_diff="1"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
180 </test>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
181 <!-- PHENOTYPER FROM NAMECALLER AND NO OUTSIDE CALLER-->
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
182 <test expect_num_outputs="1">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
183 <conditional name="function_select">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
184 <param name="function" value="pheno"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
185 <conditional name="method">
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
186 <param name="pheno_function" value="named" />
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
187 <param name="input" value="test_2.json" ftype="json" />
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
188 </conditional>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
189 </conditional>
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
190 <output name="pheno_json" file="test_4.json" lines_diff="34"/>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
191 </test>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
192 <!-- REPORTER -->
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
193 <test expect_num_outputs="2">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
194 <conditional name="function_select">
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
195 <param name="input" value="test_3.json" ftype="json"/>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
196 <param name="function" value="report"/>
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
197 <param name="text" value="test text"/>
0
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
198 </conditional>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
199 <output name="report_json">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
200 <assert_contents>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
201 <has_text text="Implication for CYP2C19"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
202 <has_text text="Lower dose-adjusted trough concentrations of tacrolimus and decreased chance of achieving target tacrolimus concentrations."/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
203 <has_text text="c.1840C\u003eT"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
204 </assert_contents>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
205 </output>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
206 <output name="report_html">
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
207 <assert_contents>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
208 <has_text text="Two ivacaftor non-responsive alleles"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
209 <has_text text="rs12979860 reference (C)/rs12979860 reference (C)"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
210 <has_text text="MT-RNR1: 1555A"/>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
211 </assert_contents>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
212 </output>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
213 </test>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
214 </tests>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
215 <help><![CDATA[
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
216 PharmCAT is a tool to extract all CPIC guideline gene variants from a genetic dataset (represented as a VCF file), interpret the variant alleles, and generate a report.
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
217 ]]></help>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
218 <citations>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
219 <citation type="doi" >10.1002/cpt.928</citation>
28aa54c800c0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
220 </citations>
1
8005ce1418ac "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
221 </tool>