Skip to content

Commit

Permalink
removing uploaded wrong files
Browse files Browse the repository at this point in the history
  • Loading branch information
nilchia committed Mar 25, 2024
1 parent 698b1fd commit cbc4c70
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 22 deletions.
10 changes: 5 additions & 5 deletions tools/chewbbaca/AlleleCall.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
</macros>
<expand macro="requirements" />
<command detect_errors="exit_code"><![CDATA[
mkdir ./input &&
mkdir ./schema &&
mkdir './input' &&
mkdir './schema' &&
#for $file in $input_file
cp $file ./input/${file.element_identifier} &&
cp $file './input/${file.element_identifier}' &&
#end for
unzip $input_schema -d ./schema &&
unzip $input_schema -d './schema' &&
chewBBACA.py AlleleCall
#if str($training_file) != 'None'
--ptf $training_file
Expand All @@ -23,7 +23,7 @@
--pm $prodigal_mode
--mode $mode
--force-continue
-i ./input -g ./schema/schema_seed/ -o ./output
-i './input' -g './schema/schema_seed/' -o './output'
]]></command>
<inputs>
<param format="fasta" name="input_file" type="data" multiple="true" label="Genome assemblies in FASTA format"/>
Expand Down
8 changes: 4 additions & 4 deletions tools/chewbbaca/CreateSchema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
</macros>
<expand macro="requirements" />
<command detect_errors="exit_code"><![CDATA[
mkdir ./input &&
mkdir './input' &&
#for $file in $input_file
cp $file ./input/${file.element_identifier} &&
ln -sf $file './input/${file.element_identifier}' &&
#end for
chewBBACA.py CreateSchema
#if str($training_file) != 'None'
Expand All @@ -18,9 +18,9 @@
--t $translation_table
--st $size_threshold
--pm $prodigal_mode
-i ./input -o ./output &&
-i './input' -o './output' &&
cd output/ &&
zip -r schema_seed.zip ./schema_seed
zip -r schema_seed.zip './schema_seed'
]]></command>
<inputs>
<param format="fasta" name="input_file" type="data" multiple="True" label="Genome assemblies in FASTA format"/>
Expand Down
8 changes: 4 additions & 4 deletions tools/chewbbaca/PrepExternalSchema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</macros>
<expand macro="requirements" />
<command detect_errors="exit_code"><![CDATA[
mkdir ./schema &&
unzip $input_schema -d ./schema &&
mkdir './schema' &&
unzip '$input_schema' -d './schema' &&
chewBBACA.py PrepExternalSchema
#if str($training_file) != 'None'
--ptf '$training_file'
Expand All @@ -16,8 +16,8 @@
--t $translation_table
--st $size_threshold
$size_filter
-g ./schema/schema_seed/ -o ./schema_seed &&
zip -r PExternalschema_seed.zip ./schema_seed
-g './schema/schema_seed/' -o './schema_seed' &&
zip -r PExternalschema_seed.zip './schema_seed'
]]></command>
<inputs>
<param format="zip" name="input_schema" type="data" multiple="true" label="Schema Files in zip format" help="The schema directory contains the loci FASTA files and a folder named 'short' that contains the FASTA files with the loci representative alleles."/>
Expand Down
10 changes: 1 addition & 9 deletions tools/chewbbaca/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,7 @@
</xml>
<xml name="citations">
<citations>
<citation type="bibtex">
@misc{githubchewBBACA,
author = {LastTODO, FirstTODO},
year = {TODO},
title = {chewBBACA},
publisher = {GitHub},
journal = {GitHub repository},
url = {https://github.com/B-UMMI/chewBBACA}
</citation>
<citation type="doi">10.1099/mgen.0.000166</citation>
</citations>
</xml>
</macros>
Binary file not shown.
Binary file not shown.

0 comments on commit cbc4c70

Please sign in to comment.