Skip to content

Commit

Permalink
Comb through and use CDATA
Browse files Browse the repository at this point in the history
CDATA for proper > usage

[#1]
  • Loading branch information
curtisim0 committed Mar 23, 2023
1 parent 2c7c286 commit 477fa23
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 32 deletions.
4 changes: 2 additions & 2 deletions blast/nuc_relate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<import>cpt-macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/relatedness.py'
@BLAST_TSV@
'$__tool_directory__/TaxID_List.txt'
'$access'
'$filter'
--hits '$hits'
&gt; '$accession_list'
> '$accession_list']]>
</command>
<inputs>
<expand macro="blast_tsv"/>
Expand Down
4 changes: 2 additions & 2 deletions blast/prot_relate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<import>cpt-macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/relatedness_prot.py'
@BLAST_TSV@
'$__tool_directory__/TaxID_List.txt'
--hits '$hits'
'$filter'
--protein
&gt; '$accession_list'
> '$accession_list']]>
</command>
<inputs>
<expand macro="blast_tsv"/>
Expand Down
4 changes: 2 additions & 2 deletions comparative/mist3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<requirement type="package" version="7.0.8_68">imagemagick</requirement>
<requirement type="package" version="9.18">ghostscript</requirement>
</expand>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/mist3.py'
#set repeat_var_1 = '" "'.join([ str($var) for $var in $fasta_files ])
--window "${window}"
Expand All @@ -20,7 +20,7 @@
--plot_type '$plot_type'
"$repeat_var_1"
&gt; '$output'
> '$output' ]]>
</command>
<inputs>
<param help="Sequences to plot" label="file" name="fasta_files" type="data" format="fasta" multiple="True"/>
Expand Down
4 changes: 2 additions & 2 deletions cpt_convert_glimmer/cpt_convert_glimmer_to_gff3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<import>macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
@GENOME_SELECTOR_PRE@
'python $__tool_directory__/cpt_convert_glimmer_to_gff3.py'
'$glimmer'
@GENOME_SELECTOR@
&gt; '$data'
> '$data' ]]>
</command>
<inputs>
<param label="Glimmer Output" name="glimmer" type="data" format="tabular,txt"/>
Expand Down
5 changes: 2 additions & 3 deletions cpt_convert_mga/cpt_convert_mga_to_gff3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
<import>macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
@GENOME_SELECTOR_PRE@
python '$__tool_directory__/cpt_convert_mga_to_gff3.py'
'$mga'
@GENOME_SELECTOR@
&gt; '$data'

> '$data' ]]>
</command>
<inputs>
<param label="MGA Output" name="mga" type="data" format="txt"/>
Expand Down
4 changes: 2 additions & 2 deletions cpt_fasta_charges/fasta_charges.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<import>cpt-macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/fasta_charges.py'
'$svg'
@SEQUENCE@
Expand Down Expand Up @@ -39,7 +39,7 @@
#end for
#end if
&gt; $html
> $html ]]>
</command>
<inputs>
<expand macro="input/fasta/protein"/>
Expand Down
4 changes: 2 additions & 2 deletions cpt_fasta_remove_id/fasta_remove_id.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<import>cpt-macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/fasta_remove_id.py'
@SEQUENCE@
&gt; '$out'
> '$out' ]]>
</command>
<inputs>
<expand macro="input/fasta"/>
Expand Down
4 changes: 2 additions & 2 deletions cpt_get_orfs/get_orfs_or_cdss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<expand macro="requirements">
<requirement type="package" version="2022.1.18">regex</requirement>
</expand>
<command interpreter="python" detect_errors="aggressive">
get_orfs_or_cdss.py '$input_file' -f '$input_file.ext' --table '$table' -t '$ftype' -e "closed" -m "all" --min_len '$min_len' --strand '$strand' --on '$out_nuc_file' --op '$out_prot_file' --ob '$out_bed_file' --og '$out_gff3_file'
<command interpreter="python" detect_errors="aggressive"><![CDATA[
get_orfs_or_cdss.py '$input_file' -f '$input_file.ext' --table '$table' -t '$ftype' -e "closed" -m "all" --min_len '$min_len' --strand '$strand' --on '$out_nuc_file' --op '$out_prot_file' --ob '$out_bed_file' --og '$out_gff3_file' ]]>
</command>
<inputs>
<param name="input_file" type="data" format="fasta,fastq,sff" label="Sequence file (nucleotides)" help="FASTA, FASTQ, or SFF format."/>
Expand Down
6 changes: 3 additions & 3 deletions cpt_mist3/mist3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<requirement type="package" version="7.0.8_68">imagemagick</requirement>
<requirement type="package" version="9.18">ghostscript</requirement>
</requirements>
<command detect_errors="aggressive">'
$__tool_directory__/mist3.py'
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/mist3.py'
#set repeat_var_1 = '" "'.join([ str('$var') for '$var' in '$fasta_files' ])
--window "${window}"
--zoom "${zoom}"
Expand All @@ -21,7 +21,7 @@ $__tool_directory__/mist3.py'
--plot_type '$plot_type'
"$repeat_var_1"
&gt; '$output'
> '$output' ]]>
</command>
<inputs>
<param help="Sequences to plot" label="file" name="fasta_files" type="data" format="fasta" multiple="True"/>
Expand Down
4 changes: 2 additions & 2 deletions cpt_related_genome_nuc/nuc_relate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<import>cpt-macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/relatedness.py'
'${blastIn.blast}'
'$__tool_directory__/TaxID_List.txt'
Expand All @@ -15,7 +15,7 @@
#if $blastIn.blastType == "XML":
--xmlMode
#end if
&gt; '$accession_list'
> '$accession_list' ]]>
</command>
<inputs>
<conditional name="blastIn">
Expand Down
4 changes: 2 additions & 2 deletions cpt_related_genome_prot/prot_relate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<import>cpt-macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/relatedness_prot.py'
'${blastIn.blast}'
'$__tool_directory__/TaxID_List.txt'
Expand All @@ -16,7 +16,7 @@
--xmlMode
#end if
--taxFilter "$taxFilter"
&gt; '$accession_list'
> '$accession_list' ]]>
</command>
<inputs>
<conditional name="blastIn">
Expand Down
4 changes: 2 additions & 2 deletions fasta/fasta_remove_id.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<import>cpt-macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
'$__tool_directory__/fasta_remove_id.py'
@SEQUENCE@
&gt; '$out'
> '$out' ]]>
</command>
<inputs>
<expand macro="input/fasta"/>
Expand Down
4 changes: 2 additions & 2 deletions fasta/get_orfs_or_cdss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<expand macro="requirements">
<requirement type="package" version="2019.06.08">regex</requirement>
</expand>
<command interpreter="python" detect_errors="aggressive">
get_orfs_or_cdss.py '$input_file' -f '$input_file.ext' --table '$table' -t '$ftype' -e "closed" -m "all" --min_len '$min_len' --strand '$strand' --on '$out_nuc_file' --op '$out_prot_file' --ob '$out_bed_file' --og '$out_gff3_file'
<command interpreter="python" detect_errors="aggressive"><![CDATA[
get_orfs_or_cdss.py '$input_file' -f '$input_file.ext' --table '$table' -t '$ftype' -e "closed" -m "all" --min_len '$min_len' --strand '$strand' --on '$out_nuc_file' --op '$out_prot_file' --ob '$out_bed_file' --og '$out_gff3_file' ]]>
</command>
<inputs>
<param name="input_file" type="data" format="fasta,fastq,sff" label="Sequence file (nucleotides)" help="FASTA, FASTQ, or SFF format."/>
Expand Down
4 changes: 2 additions & 2 deletions util/cpt_convert_glimmer_to_gff3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<import>macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
@GENOME_SELECTOR_PRE@
python '$__tool_directory__/cpt_convert_glimmer_to_gff3.py'
'$glimmer'
@GENOME_SELECTOR@
&gt; '$data'
> '$data' ]]>
</command>
<inputs>
<param label="Glimmer Output" name="glimmer" type="data" format="tabular,txt"/>
Expand Down
4 changes: 2 additions & 2 deletions util/cpt_convert_mga_to_gff3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<import>macros.xml</import>
</macros>
<expand macro="requirementsPython3"/>
<command detect_errors="aggressive">
<command detect_errors="aggressive"><![CDATA[
@GENOME_SELECTOR_PRE@
python '$__tool_directory__/cpt_convert_mga_to_gff3.py'
'$mga'
@GENOME_SELECTOR@
&gt; '$data'
> '$data' ]]>

</command>
<inputs>
Expand Down

0 comments on commit 477fa23

Please sign in to comment.