annotate pharmcat.xml @ 1:891283e0ee89 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:27:17 +0000
parents d67642a21a1d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d67642a21a1d "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">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
2 <description>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
3 Pharmacogenomics Clinical Annotation Tool
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
4 </description>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
5 <macros>
1
891283e0ee89 "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
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
8 </macros>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
9 <requirements>
1
891283e0ee89 "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
11 </requirements>
d67642a21a1d "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[
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
13 ## NAMECALLER FUNCTION
d67642a21a1d "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':
d67642a21a1d "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 &&
d67642a21a1d "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
d67642a21a1d "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
18 -vcf input.vcf
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
19 -json output.json
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
20 -html output.html
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
21
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
22 ## PHENOTYPE CALLER FUNCTION
d67642a21a1d "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':
d67642a21a1d "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':
d67642a21a1d "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 &&
d67642a21a1d "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
d67642a21a1d "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
28 -vcf input.vcf
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
29 #else:
d67642a21a1d "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 &&
d67642a21a1d "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
d67642a21a1d "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
33 -c input.json
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
34 #end if
d67642a21a1d "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:
d67642a21a1d "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
37 #end if
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
38 -f output.json
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
39
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
40 ## REPORTER FUNCTION
d67642a21a1d "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':
d67642a21a1d "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 &&
d67642a21a1d "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
d67642a21a1d "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
45 -p input.json
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
46 #if $function_select.title:
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
47 -t '$function_select.title'
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
48 #end if
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
49 -j output.json
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
50 -o output.html
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
51
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
52 ## ALL FUNCTIONS
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
53 #else:
d67642a21a1d "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 &&
d67642a21a1d "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
56 -vcf input.vcf
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
57 -o output
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
58 -f pharmCAT_report_Galaxy
d67642a21a1d "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:
d67642a21a1d "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
61 #end if
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
62 $function_select.json
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
63 $function_select.phenojson
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
64 #end if
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
65 ]]></command>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
66 <inputs>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
67 <conditional name="function_select">
d67642a21a1d "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?">
d67642a21a1d "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>
d67642a21a1d "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>
d67642a21a1d "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>
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
73 </param>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
74 <when value="all">
1
891283e0ee89 "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"
891283e0ee89 "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
d67642a21a1d "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"/>
d67642a21a1d "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"/>
d67642a21a1d "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"/>
d67642a21a1d "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"/> -->
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
81 </when>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
82 <when value="name">
1
891283e0ee89 "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"
891283e0ee89 "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
d67642a21a1d "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"/> -->
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
86 </when>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
87 <when value="pheno">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
88 <conditional name="method">
d67642a21a1d "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?">
d67642a21a1d "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>
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
92 </param>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
93 <when value="vcf">
1
891283e0ee89 "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"
891283e0ee89 "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
96 </when>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
97 <when value="named">
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
99 </when>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
100 </conditional>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
102 </when>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
103 <when value="report">
d67642a21a1d "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"/>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
106 </when>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
107 </conditional>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
108 </inputs>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
109 <outputs>
d67642a21a1d "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}">
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
112 </data>
d67642a21a1d "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}">
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
115 </data>
d67642a21a1d "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}">
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
118 </data>
d67642a21a1d "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}">
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
121 </data>
d67642a21a1d "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}">
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
124 </data>
d67642a21a1d "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}">
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
127 </data>
d67642a21a1d "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}">
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
130 </data>
d67642a21a1d "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}">
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
133 </data>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
134 </outputs>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
135 <tests>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
136 <!-- ALL FUNCTION -->
d67642a21a1d "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">
d67642a21a1d "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
891283e0ee89 "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" />
891283e0ee89 "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
d67642a21a1d "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"/>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
143 </conditional>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
144 <output name="all_out">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
145 <assert_contents>
d67642a21a1d "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"/>
d67642a21a1d "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."/>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
149 </assert_contents>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
150 </output>
d67642a21a1d "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"/>
d67642a21a1d "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">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
153 <assert_contents>
d67642a21a1d "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)."/>
d67642a21a1d "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"/>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
157 </assert_contents>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
158 </output>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
159 </test>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
160 <!-- NAMECALLER -->
d67642a21a1d "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">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
162 <conditional name="function_select">
d67642a21a1d "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
891283e0ee89 "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
165 </conditional>
1
891283e0ee89 "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" />
891283e0ee89 "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
168 </test>
d67642a21a1d "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-->
d67642a21a1d "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">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
171 <conditional name="function_select">
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
173 <conditional name="method">
d67642a21a1d "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"/>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
176 </conditional>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
178 </conditional>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
180 </test>
d67642a21a1d "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-->
d67642a21a1d "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">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
183 <conditional name="function_select">
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
185 <conditional name="method">
1
891283e0ee89 "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" />
891283e0ee89 "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
188 </conditional>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
189 </conditional>
1
891283e0ee89 "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
191 </test>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
192 <!-- REPORTER -->
d67642a21a1d "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">
d67642a21a1d "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
891283e0ee89 "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
d67642a21a1d "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
891283e0ee89 "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
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
198 </conditional>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
199 <output name="report_json">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
200 <assert_contents>
d67642a21a1d "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"/>
d67642a21a1d "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."/>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
204 </assert_contents>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
205 </output>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
206 <output name="report_html">
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
207 <assert_contents>
d67642a21a1d "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"/>
d67642a21a1d "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)"/>
d67642a21a1d "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"/>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
211 </assert_contents>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
212 </output>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
213 </test>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
214 </tests>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
215 <help><![CDATA[
d67642a21a1d "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.
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
217 ]]></help>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
218 <citations>
d67642a21a1d "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>
d67642a21a1d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff changeset
220 </citations>
1
891283e0ee89 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit dddf99b20ed9b07334505917f362785e3dace3b9"
bgruening
parents: 0
diff changeset
221 </tool>