Skip to content

Commit

Permalink
removed input oddities - READY?
Browse files Browse the repository at this point in the history
  • Loading branch information
ammaraziz committed Jan 15, 2025
1 parent 1107d31 commit d73eeec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
20 changes: 9 additions & 11 deletions tools/squirrel/squirrel-phylo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,17 @@
<expand macro="version_command"/>

<command detect_errors="exit_code"><![CDATA[
#set $input_file_name = str($sequences.element_identifier).replace(".fasta", "")
#set $linked_input = str($input_file_name) + '.fasta'
#set $alignment_output = str($input_file_name) + '.aln.fasta'
#set $tree_output = str($input_file_name) + '.tree'
#set $alignment_output = 'input.aln.fasta'
#set $tree_output = 'input.tree'
#if $apobec3
#set $aa_recon_output = str($input_file_name) + ".tree.amino_acid.reconstruction.csv"
#set $branch_snps_output = str($input_file_name) + ".tree.branch_snps.reconstruction.csv"
#set $svg_output = str($input_file_name) + ".tree.svg"
#set $png_output = str($input_file_name) + ".tree.png"
#set $aa_recon_output = "input.tree.amino_acid.reconstruction.csv"
#set $branch_snps_output = "input.tree.branch_snps.reconstruction.csv"
#set $svg_output = "input.tree.svg"
#set $png_output = "input.tree.png"
#end if
ln -s '${sequences}' '${linked_input}' &&
ln -s '${sequences}' input.fasta &&
squirrel
#if $apobec3
Expand Down Expand Up @@ -50,7 +48,7 @@
$no_iter_mask
--threads \${GALAXY_SLOTS:-1}
'$linked_input' &&
input.fasta &&
mv '${alignment_output}' '$alignment' &&
mv '${tree_output}' '$tree'
Expand Down Expand Up @@ -140,7 +138,7 @@
<data name="png" format="png" label="${tool.name} - phylotree png image">
<filter>apobec3</filter>
</data>
<data name="aa_recon" format="png" label="${tool.name} - amino acid mutations ancestral reconstruction">
<data name="aa_recon" format="png" label="${tool.name} - aa mutations ancestral reconstruction">
<filter>apobec3</filter>
</data>
<data name="branch_snps" format="png" label="${tool.name} - apobec3 nt mutations">
Expand Down
8 changes: 3 additions & 5 deletions tools/squirrel/squirrel-qc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,18 @@
<expand macro="version_command"/>

<command detect_errors="exit_code"><![CDATA[
#set $input_file_name = str($sequences.element_identifier).replace(".fasta", "")
#set $linked_input = str($input_file_name) + '.fasta'
#set $mask_output = str($input_file_name) + '.suggested_mask.csv'
#set $mask_output = 'input.suggested_mask.csv'
#set $exclude_output = 'suggested_to_exclude.csv'
ln -s '${sequences}' '${linked_input}' &&
ln -s '${sequences}' input.fasta &&
squirrel
--seq-qc
--clade $clade
--threads \${GALAXY_SLOTS:-Z}
'$linked_input' &&
input.fasta &&
mv '${mask_output}' '$mask' &&
mv '${exclude_output}' '$exclude'
Expand Down

0 comments on commit d73eeec

Please sign in to comment.