Mercurial > repos > bgruening > pharmcat
annotate pharmcat.xml @ 0:d67642a21a1d draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
author | bgruening |
---|---|
date | Fri, 28 Jan 2022 21:18:23 +0000 |
parents | |
children | 891283e0ee89 |
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> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
6 <token name="@WRAPPER_VERSION@">1.3.1</token> |
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> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
10 <container type="docker">pgkb/pharmcat:1.3.1</container> |
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"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
75 <param name="input" argument="-vcf" type="data" format="vcf" label="Input vcf file" help="Must be formatted in modified official VCF format as detailed here: https://github.com/PharmGKB/PharmCAT/wiki/VCF-Requirements"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
76 <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
|
77 <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
|
78 <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
|
79 <!-- <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
|
80 </when> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
81 <when value="name"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
82 <param name="input" argument="-vcf" type="data" format="vcf" label="Input vcf file" help="Must be formatted in modified official VCF format as detailed here: https://github.com/PharmGKB/PharmCAT/wiki/VCF-Requirements"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
83 <!-- <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
|
84 </when> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
85 <when value="pheno"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
86 <conditional name="method"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
87 <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
|
88 <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
|
89 <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
|
90 </param> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
91 <when value="vcf"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
92 <param name="input" argument="-vcf" type="data" format="vcf" label="Input vcf file" help="Must be formatted in modified official VCF format as detailed here: https://github.com/PharmGKB/PharmCAT/wiki/VCF-Requirements"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
93 </when> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
94 <when value="named"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
95 <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
|
96 </when> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
97 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
98 <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
|
99 </when> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
100 <when value="report"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
101 <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
|
102 <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
|
103 </when> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
104 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
105 </inputs> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
106 <outputs> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
107 <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
|
108 <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
|
109 </data> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
110 <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
|
111 <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
|
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_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
|
114 <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
|
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="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
|
117 <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
|
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_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
|
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="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
|
123 <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
|
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="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
|
126 <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
|
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_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
|
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 </outputs> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
132 <tests> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
133 <!-- ALL FUNCTION --> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
134 <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
|
135 <conditional name="function_select"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
136 <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
|
137 <param name="outside_call" ftype="tabular" value="test.tsv"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
138 <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
|
139 <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
|
140 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
141 <output name="all_out"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
142 <assert_contents> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
143 <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
|
144 <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
|
145 <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
|
146 </assert_contents> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
147 </output> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
148 <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
|
149 <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
|
150 <assert_contents> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
151 <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
|
152 <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
|
153 <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
|
154 </assert_contents> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
155 </output> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
156 </test> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
157 <!-- NAMECALLER --> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
158 <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
|
159 <conditional name="function_select"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
160 <param name="function" value="name"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
161 <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
|
162 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
163 <output name="namer_html" file="test_2.html" lines_diff="2"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
164 <output name="namer_json" file="test_2.json" lines_diff="2"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
165 </test> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
166 <!-- 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
|
167 <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
|
168 <conditional name="function_select"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
169 <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
|
170 <conditional name="method"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
171 <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
|
172 <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
|
173 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
174 <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
|
175 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
176 <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
|
177 </test> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
178 <!-- 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
|
179 <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
|
180 <conditional name="function_select"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
181 <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
|
182 <conditional name="method"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
183 <param name="pheno_function" value="named"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
184 <param name="input" value="test_2.json"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
185 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
186 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
187 <output name="pheno_json" file="test_4.json" lines_diff="1"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
188 </test> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
189 <!-- REPORTER --> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
190 <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
|
191 <conditional name="function_select"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
192 <param name="function" value="report"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
193 <param name="input" value="test_3.json"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
194 <param name="text" value="test text"/> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
195 </conditional> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
196 <output name="report_json"> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
197 <assert_contents> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
198 <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
|
199 <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
|
200 <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
|
201 </assert_contents> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
202 </output> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
203 <output name="report_html"> |
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 <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
|
206 <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
|
207 <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
|
208 </assert_contents> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
209 </output> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
210 </test> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
211 </tests> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
212 <help><![CDATA[ |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
213 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
|
214 ]]></help> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
215 <citations> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
216 <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
|
217 </citations> |
d67642a21a1d
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pharmcat commit c6a098eb0cbfa87b0feaebf10ef6b24da659fa54"
bgruening
parents:
diff
changeset
|
218 </tool> |