Hi Dannon,
Thank for the pointers from before, I have a version of galaxy that is able to change runtime parameters through the API when running a workflow.
Format: param=<tool name>=<tool parameter>=<value>
# example execution: (currently changing 2 parameters: 1) bowtie, suppressHeader parameter 2) Chip-seq peakcalling, aligner change
python workflow_execute.py api_key http://localhost:8080/api/workflows workflow_galaxy_id 'Test API' '69=ld=a799d38679e985db' '70=ld=33b43b4e7093c91f' 'param=peakcalling_spp=aligner=arachne' 'param=bowtie_wrapper=suppressHeader=True'
However, I was wondering if you had any pointers on how to deal w/ changing species or chromosome lengths?
# example workflow: bowtie tool
"tool_id": "bowtie_wrapper",
"tool_state": "{\"suppressHeader\": \"\\\"False\\\"\", \"refGenomeSource\": \"{\\\"genomeSource\\\": \\\"indexed\\\", \\\"index\\\": \\\"dm3\\\", \\\"__current_case__\\\": 0}\", \"__page__\": 0, \"chromInfo\": \"\\\"/data/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/dm3.len\\\"\", \"singlePaired\": \"{\\\"sInput1\\\": null, \\\"sParams\\\": {\\\"sMismatchSeed\\\": \\\"2\\\", \\\"sUnmappedFile\\\": \\\"False\\\", \\\"sTrimH\\\": \\\"0\\\", \\\"sTrimL\\\": \\\"0\\\", \\\"sSuppressAlign\\\": \\\"1\\\", \\\"sSettingsType\\\": \\\"full\\\", \\\"sSeed\\\": \\\"-1\\\", \\\"sMismatchQual\\\": \\\"70\\\", \\\"sMaqSoapAlign\\\": \\\"-1\\\", \\\"sAlignLimit\\\": \\\"-1\\\", \\\"sTryHard\\\": \\\"noTryHard\\\", \\\"sRounding\\\": \\\"round\\\", \\\"__current_case__\\\": 1, \\\"sSkip\\\": \\\"0\\\", \\\"sBestOption\\\": {\\\"snMaxBacktracks\\\": \\\"125\\\", \\\"sBest\\\": \\\"noBest\\\", \\\"__current_case__\\\": 0}, \\\"sAllValAligns\\\": \\\"noAllValAligns\\\", \\\"sOffrate\\\": \\\"-1\\\", \\\"sSeedLen\\\": \\\"28\\\", \\\"sValAlign\\\": \\\"1\\\", \\\"sMaxFile\\\": \\\"False\\\"}, \\\"sPaired\\\": \\\"single\\\", \\\"__current_case__\\\": 0}\"}",
"tool_version": "1.1.2",
"type": "tool",
"user_outputs": []
Is there a way to configure bowtie in galaxy to use the species automatically associated with input file? I am currently having troubles dealing w/ parameters that are defined in sub dictionaries defined in the tool state. Any general approaches would be appreciated.