Mercurial > repos > galaxyp > iedb_netmhcpan
annotate shared_macros.xml @ 0:88e44dab2988 draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
author | galaxyp |
---|---|
date | Wed, 09 Jul 2025 12:56:30 +0000 |
parents | |
children |
rev | line source |
---|---|
0
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
1 <macros> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
2 <xml name="requirements"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
3 <requirement type="package" version="3.13">python</requirement> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
4 </xml> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
5 <xml name="configfiles"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
6 <configfile name="entered_alleles"><![CDATA[#slurp |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
7 #if $alleles.allelesrc == 'entry' |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
8 #if $alleles.allele_text != '' |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
9 #for $allele in str($alleles.allele_text).strip().split(): |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
10 $allele |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
11 #end for |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
12 #end if |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
13 #if $alleles.allele_select != 'None' |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
14 #for $allele in $alleles.allele_select: |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
15 $allele |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
16 #end for |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
17 #end if |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
18 #end if |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
19 ]]></configfile> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
20 <configfile name="entered_seqs"><![CDATA[#slurp |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
21 #if $sequence.seqsrc == 'entry' |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
22 #for $seq in str($sequence.seq_text).strip().split() |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
23 $seq |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
24 #end for |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
25 #end if |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
26 ]]></configfile> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
27 </xml> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
28 <xml name="inputs" token_hla_regex="" token_hla_examples="" token_hlalen_examples=""> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
29 <conditional name="alleles"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
30 <param name="allelesrc" type="select" label="Alleles"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
31 <option value="history">From history</option> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
32 <option value="entry">Entered</option> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
33 </param> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
34 <when value="history"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
35 <param name="allele_file" type="data" format="txt" label="Alleles file"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
36 <help>The dataset should have one allele per line. The allele may be followed by an optional comma-separated list of peptide lengths, e.g.: @HLALEN_EXAMPLES@</help> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
37 </param> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
38 </when> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
39 <when value="entry"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
40 <param name="allele_text" type="text" label="Alleles" optional="true"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
41 <help>Enter alleles separated by white space: @HLA_EXAMPLES@ (The peptide lengths may follow each allele: @HLALEN_EXAMPLES@)</help> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
42 </param> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
43 <expand macro="allele_list_macro" /> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
44 </when> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
45 </conditional> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
46 <param name="length_start" type="integer" optional="false" value="8" label="Peptide length range start"/> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
47 <param name="length_end" type="integer" optional="false" value="8" label="Peptide length range end"/> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
48 <conditional name="sequence"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
49 <param name="seqsrc" type="select" label="Peptide sequences"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
50 <option value="fasta">Fasta file</option> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
51 <option value="tabular">From tabular</option> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
52 <option value="entry">Enter sequences</option> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
53 </param> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
54 <when value="fasta"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
55 <param name="seq_fasta" type="data" format="fasta" label="Peptide Sequence Fasta"/> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
56 </when> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
57 <when value="tabular"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
58 <param name="seq_tsv" type="data" format="tabular" label="Peptide Sequence Tabular"/> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
59 <param name="pep_col" label="Select column with peptides" type="data_column" numerical="false" data_ref="seq_tsv" /> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
60 </when> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
61 <when value="entry"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
62 <param name="seq_text" type="text" label="Peptide Sequence"/> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
63 </when> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
64 </conditional> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
65 </xml> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
66 <xml name="citations"> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
67 <citation type="doi">10.1093/nar/gku938</citation> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
68 <citation type="doi">10.1093/nar/gkaa379</citation> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
69 </xml> |
88e44dab2988
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/iedb_netmhcpan commit 0ac7534c8d9f5bfea21b998286f822784e62da08
galaxyp
parents:
diff
changeset
|
70 </macros> |