# HG changeset patch
# User iss
# Date 1557486288 14400
# Node ID 872ed5ee7b98df9fe0d8bcccd54836c545fdf836
# Parent 093352878303e9590dcee609614a88bc9174370b
Update to xml file
diff -r 093352878303 -r 872ed5ee7b98 chewbbaca.xml
--- a/chewbbaca.xml Fri May 03 10:15:27 2019 -0400
+++ b/chewbbaca.xml Fri May 10 07:04:48 2019 -0400
@@ -1,305 +1,304 @@
-
- BSR-Based Allele Calling Algorithm
-
-
- Python
- numpy
- scipy
- perl
- biopython
- plotly
- SPARQLWrapper
- pandas
- blast
- prodigal
- clustalw
- mafft
- chewbbaca
-
-
-
-
-
-
-
-
- perl
- $__tool_directory__/chewBBACA.pl $selectFunction.myFunctions
- #if str( $selectFunction.myFunctions ) in ('CreateSchema', 'AlleleCall')
- '${",".join(map(str, $selectFunction.input1))}'
- #elif str( $selectFunction.myFunctions ) in ('SchemaEvaluator', 'TestGenomeQuality', 'ExtractCgMLST', 'RemoveGenes')
- $selectFunction.input1
- #else
- 'NULL'
- #end if
- #if str( $selectFunction.myFunctions ) == 'AlleleCall'
- #set $input_names = []
- #for $input in $selectFunction.input1
- $input_names.append($input.element_identifier)
- #end for
- #set $input_name = ",".join(map(str, $input_names))
- '$input_name'
- #else
- 'NULL'
- #end if
- #if str( $selectFunction.myFunctions ) == 'CreateSchema'
- '$schema'
- #elif str( $selectFunction.myFunctions ) == 'AlleleCall'
- '$statistics,$contigsinfo,$alleles,$logginginfo,$repeatedloci'
- #elif str( $selectFunction.myFunctions ) == 'SchemaEvaluator'
- '$schemaplot'
- #elif str( $selectFunction.myFunctions ) == 'TestGenomeQuality'
- '$thresholdplot,$removedgenomes'
- #elif str( $selectFunction.myFunctions ) == 'RemoveGenes'
- '$removedgenes'
- #else
- 'NULL'
- #end if
-
- "chewBBACA.py $selectFunction.myFunctions
- #if str( $selectFunction.myFunctions ) in ('CreateSchema', 'AlleleCall', 'TestGenomeQuality', 'ExtractCgMLST')
- -o output_dir
- #end if
- #if str( $selectFunction.myFunctions ) == 'RemoveGenes'
- -o output_removegenes
- #end if
- #if str( $selectFunction.myFunctions ) in ('CreateSchema', 'AlleleCall')
- -i input_dir
- --cpu \${GALAXY_SLOTS:-4}
- #end if
- #if str( $selectFunction.myFunctions ) in ('SchemaEvaluator', 'TestGenomeQuality', 'ExtractCgMLST', 'RemoveGenes')
- -i $selectFunction.input1
- #end if
- #if str( $selectFunction.myFunctions ) in ('CreateSchema', 'AlleleCall')
- #if $selectFunction.bsr
- --bsr $selectFunction.bsr
- #end if
-
- #if $selectFunction.ptfmode.ptf_select=="system"
- --ptf ${ filter( lambda x: str( x[0] ) == str( $selectFunction.ptfmode.ptf_system ), $__app__.tool_data_tables[ 'chewbbaca_ptfs' ].get_fields() )[0][-1] }
- #elif $selectFunction.ptfmode.ptf_select=="user"
- --ptf $selectFunction.ptfmode.ptf_user
- #end if
- #end if
- #if str( $selectFunction.myFunctions ) == 'CreateSchema'
- #if $selectFunction.minBpLocus
- -l $selectFunction.minBpLocus
- #end if
- #end if
- #if str( $selectFunction.myFunctions ) == 'AlleleCall'
- #if $selectFunction.mode.schema_select=="system"
- -g ${ filter( lambda x: str( x[0] ) == str( $selectFunction.mode.reference ), $__app__.tool_data_tables[ 'chewbbaca_schemas' ].get_fields() )[0][-1] }
- #else
- -g $selectFunction.mode.genes
- #end if
- #end if
- #if str( $selectFunction.myFunctions ) == 'SchemaEvaluator'
- --cpu \${GALAXY_SLOTS:-4}
- #if $selectFunction.conserved
- -p
- #end if
- -l output_rms/SchemaEvaluator.html
- -ta $selectFunction.ncbiTA
- -t $selectFunction.threshold
- #if $selectFunction.title
- --title '$selectFunction.title'
- #end if
- -s $selectFunction.numBoxplots
- #if $selectFunction.light
- --light
- #end if
- #end if
- #if str( $selectFunction.myFunctions ) == 'TestGenomeQuality'
- -n $selectFunction.maxNumIterations
- -t $selectFunction.maxThreshold
- -s $selectFunction.stepThreshold
- #end if
- #if str( $selectFunction.myFunctions ) == 'ExtractCgMLST'
- #if $selectFunction.genes
- -r $selectFunction.genes
- #end if
- #if $selectFunction.genomes
- -g $selectFunction.genomes
- #end if
- #if $selectFunction.maxPresence
- -p $selectFunction.maxPresence
- #end if
- #end if
- #if str( $selectFunction.myFunctions ) == 'RemoveGenes'
- -g $selectFunction.genes
- #end if
- "
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- selectFunction['myFunctions'] == "CreateSchema"
-
-
- selectFunction['myFunctions'] == "AlleleCall"
-
-
- selectFunction['myFunctions'] == "AlleleCall"
-
-
- selectFunction['myFunctions'] == "AlleleCall"
-
-
- selectFunction['myFunctions'] == "AlleleCall"
-
-
- selectFunction['myFunctions'] == "AlleleCall"
-
-
- selectFunction['myFunctions'] == "SchemaEvaluator"
-
-
- selectFunction['myFunctions'] == "TestGenomeQuality"
-
-
- selectFunction['myFunctions'] == "TestGenomeQuality"
-
-
- selectFunction['myFunctions'] == "ExtractCgMLST"
-
-
- selectFunction['myFunctions'] == "ExtractCgMLST"
-
-
- selectFunction['myFunctions'] == "RemoveGenes"
-
-
-
-
-
-
-
-
-
-
-
-
-
-**chewBBACA** stands for "BSR-Based Allele Calling Algorithm". The "chew" part could be thought of as "Comprehensive and Highly Efficient Workflow"
-but at this point still it needs a bit of work to make that claim so we just add "chew" to add extra coolness to the software name.
-This tool is in beta test.
-
-The development of the tools have been supported by INNUENDO project (https://www.innuendoweb.org) co-funded by the European Food Safety Authority (EFSA), grant agreement GP/EFSA/AFSCO/2015/01/CT2
-("New approaches in identifying and characterizing microbial and chemical hazards") and by the ONEIDA project (LISBOA-01-0145-FEDER-016417) co-funded by FEEI - “Fundos Europeus Estruturais e de Investimento”
-from “Programa Operacional Regional Lisboa 2020” and by national funds from FCT - “Fundação para a Ciência e a Tecnologia” and BacGenTrack (TUBITAK/0004/2014)
-[FCT/ Scientific and Technological Research Council of Turkey (Türkiye Bilimsel ve Teknolojik Araşrrma Kurumu, TÜBITAK)].
-
-
- @ARTICLE{andrews_s,
- author = {Rossi, M and Silva, M and Ribeiro-Gonçalves, B and Silva, DN and Machado, MP and Oleastro, M and Borges, V and Isidro, J and Gomes, JP and Vieira, L and Barker, DOR and Llarena, AK and Halkilahti,
- J and Jaakkonen, A and Palma, F and Culebro, A and Kivistö, R and Hänninen, ML and Laukkanen-Ninios, R and Fredriksson-Ahomaa, M and Salmenlinna, S and Hakkinen, M and Garaizer, J and Bikandi, J and Hilbert,
- F and Taboada, EN and Carriço, JA},
- keywords = {bioinformatics, ngs, mlst},
- title = {{INNUENDO whole and core genome MLST databases and schemas for foodborne pathogens}},
- url = {https://github.com/TheInnuendoProject/chewBBACA_schemas}
- }
- 10.1099/mgen.0.000166
- 10.1371/journal.pgen.1007261
-
-
+
+ BSR-Based Allele Calling Algorithm
+
+
+ Python
+ numpy
+ scipy
+ perl
+ biopython
+ plotly
+ SPARQLWrapper
+ pandas
+ blast
+ prodigal
+ clustalw
+ mafft
+ chewbbaca
+
+
+
+
+
+
+
+
+ perl
+ $__tool_directory__/chewBBACA.pl $selectFunction.myFunctions
+ #if str( $selectFunction.myFunctions ) in ('CreateSchema', 'AlleleCall')
+ '${",".join(map(str, $selectFunction.input1))}'
+ #elif str( $selectFunction.myFunctions ) in ('SchemaEvaluator', 'TestGenomeQuality', 'ExtractCgMLST', 'RemoveGenes')
+ $selectFunction.input1
+ #else
+ 'NULL'
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'AlleleCall'
+ #set $input_names = []
+ #for $input in $selectFunction.input1
+ $input_names.append($input.element_identifier)
+ #end for
+ #set $input_name = ",".join(map(str, $input_names))
+ '$input_name'
+ #else
+ 'NULL'
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'CreateSchema'
+ '$schema'
+ #elif str( $selectFunction.myFunctions ) == 'AlleleCall'
+ '$statistics,$contigsinfo,$alleles,$logginginfo,$repeatedloci'
+ #elif str( $selectFunction.myFunctions ) == 'SchemaEvaluator'
+ '$schemaplot'
+ #elif str( $selectFunction.myFunctions ) == 'TestGenomeQuality'
+ '$thresholdplot,$removedgenomes'
+ #elif str( $selectFunction.myFunctions ) == 'RemoveGenes'
+ '$removedgenes'
+ #else
+ 'NULL'
+ #end if
+
+ "chewBBACA.py $selectFunction.myFunctions
+ #if str( $selectFunction.myFunctions ) in ('CreateSchema', 'AlleleCall', 'TestGenomeQuality', 'ExtractCgMLST')
+ -o output_dir
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'RemoveGenes'
+ -o output_removegenes
+ #end if
+ #if str( $selectFunction.myFunctions ) in ('CreateSchema', 'AlleleCall')
+ -i input_dir
+ --cpu \${GALAXY_SLOTS:-4}
+ #end if
+ #if str( $selectFunction.myFunctions ) in ('SchemaEvaluator', 'TestGenomeQuality', 'ExtractCgMLST', 'RemoveGenes')
+ -i $selectFunction.input1
+ #end if
+ #if str( $selectFunction.myFunctions ) in ('CreateSchema', 'AlleleCall')
+ #if $selectFunction.bsr
+ --bsr $selectFunction.bsr
+ #end if
+
+ #if $selectFunction.ptfmode.ptf_select=="system"
+ --ptf ${ filter( lambda x: str( x[0] ) == str( $selectFunction.ptfmode.ptf_system ), $__app__.tool_data_tables[ 'chewbbaca_ptfs' ].get_fields() )[0][-1] }
+ #elif $selectFunction.ptfmode.ptf_select=="user"
+ --ptf $selectFunction.ptfmode.ptf_user
+ #end if
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'CreateSchema'
+ #if $selectFunction.minBpLocus
+ -l $selectFunction.minBpLocus
+ #end if
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'AlleleCall'
+ #if $selectFunction.mode.schema_select=="system"
+ -g ${ filter( lambda x: str( x[0] ) == str( $selectFunction.mode.reference ), $__app__.tool_data_tables[ 'chewbbaca_schemas' ].get_fields() )[0][-1] }
+ #else
+ -g $selectFunction.mode.genes
+ #end if
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'SchemaEvaluator'
+ --cpu \${GALAXY_SLOTS:-4}
+ #if $selectFunction.conserved
+ -p
+ #end if
+ -l output_rms/SchemaEvaluator.html
+ -ta $selectFunction.ncbiTA
+ -t $selectFunction.threshold
+ #if $selectFunction.title
+ --title '$selectFunction.title'
+ #end if
+ -s $selectFunction.numBoxplots
+ #if $selectFunction.light
+ --light
+ #end if
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'TestGenomeQuality'
+ -n $selectFunction.maxNumIterations
+ -t $selectFunction.maxThreshold
+ -s $selectFunction.stepThreshold
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'ExtractCgMLST'
+ #if $selectFunction.genes
+ -r $selectFunction.genes
+ #end if
+ #if $selectFunction.genomes
+ -g $selectFunction.genomes
+ #end if
+ #if $selectFunction.maxPresence
+ -p $selectFunction.maxPresence
+ #end if
+ #end if
+ #if str( $selectFunction.myFunctions ) == 'RemoveGenes'
+ -g $selectFunction.genes
+ #end if
+ "
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ selectFunction['myFunctions'] == "CreateSchema"
+
+
+ selectFunction['myFunctions'] == "AlleleCall"
+
+
+ selectFunction['myFunctions'] == "AlleleCall"
+
+
+ selectFunction['myFunctions'] == "AlleleCall"
+
+
+ selectFunction['myFunctions'] == "AlleleCall"
+
+
+ selectFunction['myFunctions'] == "AlleleCall"
+
+
+ selectFunction['myFunctions'] == "SchemaEvaluator"
+
+
+ selectFunction['myFunctions'] == "TestGenomeQuality"
+
+
+ selectFunction['myFunctions'] == "TestGenomeQuality"
+
+
+ selectFunction['myFunctions'] == "ExtractCgMLST"
+
+
+ selectFunction['myFunctions'] == "ExtractCgMLST"
+
+
+ selectFunction['myFunctions'] == "RemoveGenes"
+
+
+
+
+
+
+
+
+
+
+
+
+
+**chewBBACA** stands for "BSR-Based Allele Calling Algorithm". The "chew" part could be thought of as "Comprehensive and Highly Efficient Workflow"
+but at this point still it needs a bit of work to make that claim so we just add "chew" to add extra coolness to the software name.
+
+The development of the tools have been supported by INNUENDO project (https://www.innuendoweb.org) co-funded by the European Food Safety Authority (EFSA), grant agreement GP/EFSA/AFSCO/2015/01/CT2
+("New approaches in identifying and characterizing microbial and chemical hazards") and by the ONEIDA project (LISBOA-01-0145-FEDER-016417) co-funded by FEEI - “Fundos Europeus Estruturais e de Investimento”
+from “Programa Operacional Regional Lisboa 2020” and by national funds from FCT - “Fundação para a Ciência e a Tecnologia” and BacGenTrack (TUBITAK/0004/2014)
+[FCT/ Scientific and Technological Research Council of Turkey (Türkiye Bilimsel ve Teknolojik Araşrrma Kurumu, TÜBITAK)].
+
+
+ @ARTICLE{andrews_s,
+ author = {Rossi, M and Silva, M and Ribeiro-Gonçalves, B and Silva, DN and Machado, MP and Oleastro, M and Borges, V and Isidro, J and Gomes, JP and Vieira, L and Barker, DOR and Llarena, AK and Halkilahti,
+ J and Jaakkonen, A and Palma, F and Culebro, A and Kivistö, R and Hänninen, ML and Laukkanen-Ninios, R and Fredriksson-Ahomaa, M and Salmenlinna, S and Hakkinen, M and Garaizer, J and Bikandi, J and Hilbert,
+ F and Taboada, EN and Carriço, JA},
+ keywords = {bioinformatics, ngs, mlst},
+ title = {{INNUENDO whole and core genome MLST databases and schemas for foodborne pathogens}},
+ url = {https://github.com/TheInnuendoProject/chewBBACA_schemas}
+ }
+ 10.1099/mgen.0.000166
+ 10.1371/journal.pgen.1007261
+
+