Mercurial > repos > tduigou > parameters_maystro_workflow_1
comparison maystro_workflow_1.xml @ 1:8bc9c1fb79f1 draft default tip
planemo upload for repository https://github.com/brsynth/galaxytools/tree/main/tools/parameters_maystro commit 98d5e65b8008dbca117b2e0655cfdd54655fac48-dirty
| author | tduigou |
|---|---|
| date | Thu, 31 Jul 2025 08:58:07 +0000 |
| parents | be08b189b32d |
| children |
comparison
equal
deleted
inserted
replaced
| 0:be08b189b32d | 1:8bc9c1fb79f1 |
|---|---|
| 6 <command detect_errors="exit_code"><![CDATA[ | 6 <command detect_errors="exit_code"><![CDATA[ |
| 7 #if $user_json and str($user_json) != 'None': | 7 #if $user_json and str($user_json) != 'None': |
| 8 cp '$user_json' '$output_json' | 8 cp '$user_json' '$output_json' |
| 9 #else | 9 #else |
| 10 python3 -c "import json; params = { | 10 python3 -c "import json; params = { |
| 11 'avoid_patterns': '$avoid_patterns', | |
| 12 'hairpin_constraints': '$hairpin_constraints', | |
| 13 'gc_constraints': '$gc_constraints', | |
| 14 'kmer_size': '$kmer_size', | |
| 11 'assembly_plan_name': '$assembly_plan_name', | 15 'assembly_plan_name': '$assembly_plan_name', |
| 12 'topology': '$topology', | 16 'topology': '$topology', |
| 13 'enzyme': '$enzyme', | 17 'enzyme': '$enzyme', |
| 14 'execution': '$execution', | 18 'execution': '$execution', |
| 15 'db_uri': '$db_uri', | 19 'db_uri': '$db_uri', |
| 20 }; f = open('$output_json', 'w'); json.dump(params, f, indent=4); f.close()" && echo DEBG && cat '$output_json' | 24 }; f = open('$output_json', 'w'); json.dump(params, f, indent=4); f.close()" && echo DEBG && cat '$output_json' |
| 21 #end if | 25 #end if |
| 22 && echo DEBG && cat '$output_json' | 26 && echo DEBG && cat '$output_json' |
| 23 ]]></command> | 27 ]]></command> |
| 24 <inputs> | 28 <inputs> |
| 29 <param name="avoid_patterns" type="text" area="true" optional="true" label="Avoid Patterns (one per line)" /> | |
| 30 <param name="hairpin_constraints" type="text" area="true" label="Hairpins Constraints" optional="true" help="e.g. (you can add others Hairpins Constraints on a new line): stem_size=20, hairpin_window=200"/> | |
| 31 <param name="gc_constraints" type="text" area="true" label="Enforce GC Content Constraints" optional="true" help="e.g. (you can add others Enforce GC Content Constraints on a new line): mini=0.3, maxi=0.7, window=100"/> | |
| 32 <param name="kmer_size" type="integer" label="K-mer Uniqueness Size" value="" optional="true" help="e.g.: 15"/> | |
| 25 <param name="assembly_plan_name" type="select" label="Assembly Calss" help="select the assambly class"> | 33 <param name="assembly_plan_name" type="select" label="Assembly Calss" help="select the assambly class"> |
| 26 <option value="Type2sRestrictionAssembly" selected="True">GoldenGate_assembly</option> | 34 <option value="Type2sRestrictionAssembly" selected="True">GoldenGate_assembly</option> |
| 27 <option value="GibsonAssembly">Gibson_assembly</option> | 35 <option value="GibsonAssembly">Gibson_assembly</option> |
| 28 <option value="BASICAssembly">BASIC_assembly</option> | 36 <option value="BASICAssembly">BASIC_assembly</option> |
| 29 <option value="BioBrickStandardAssembly">biobrick_assembly</option> | 37 <option value="BioBrickStandardAssembly">biobrick_assembly</option> |
| 45 <outputs> | 53 <outputs> |
| 46 <data name="output_json" format="json" label="Workflow-1 Parameters"/> | 54 <data name="output_json" format="json" label="Workflow-1 Parameters"/> |
| 47 </outputs> | 55 </outputs> |
| 48 <tests> | 56 <tests> |
| 49 <!--manual parameters set--> | 57 <!--manual parameters set--> |
| 50 <test> | 58 <test> |
| 59 <param name="avoid_patterns" value="BsaI_site | |
| 60 BsmBI_site | |
| 61 BbsI_site | |
| 62 SapI_site | |
| 63 8x1mer | |
| 64 5x3mer | |
| 65 9x2mer" /> | |
| 66 <param name="hairpin_constraints" value='stem_size=20, hairpin_window=200'/> | |
| 67 <param name="gc_constraints" value="mini=0.3, maxi=0.7, window=100 | |
| 68 mini=0.1, maxi=0.9, window=100"/> | |
| 69 <param name="kmer_size" value="15" /> | |
| 51 <param name="assembly_plan_name" value="Type2sRestrictionAssembly" /> | 70 <param name="assembly_plan_name" value="Type2sRestrictionAssembly" /> |
| 52 <param name="topology" value='circular'/> | 71 <param name="topology" value='circular'/> |
| 53 <param name="enzyme" value="auto"/> | 72 <param name="enzyme" value="auto"/> |
| 54 <param name="execution" value="true" /> | 73 <param name="execution" value="true" /> |
| 55 <param name="db_uri" value="postgresql://postgres:RK17@localhost:5432/test_fragments_db" /> | 74 <param name="db_uri" value="postgresql://postgres:RK17@localhost:5432/test_fragments_db" /> |
| 57 <param name="fragment_column" value="fragment" /> | 76 <param name="fragment_column" value="fragment" /> |
| 58 <param name="sequence_column" value="sequence" /> | 77 <param name="sequence_column" value="sequence" /> |
| 59 <param name="annotation_column" value="annotation" /> | 78 <param name="annotation_column" value="annotation" /> |
| 60 <output name="output_json"> | 79 <output name="output_json"> |
| 61 <assert_contents> | 80 <assert_contents> |
| 62 <has_n_lines n="11" /> | 81 <has_n_lines n="15" /> |
| 63 </assert_contents> | 82 </assert_contents> |
| 64 </output> | 83 </output> |
| 65 </test> | 84 </test> |
| 66 <!--JSON parameters set--> | 85 <!--JSON parameters set--> |
| 67 <test> | 86 <test> |
| 68 <param name="user_json" value='test-JSON_workflow1.json'/> | 87 <param name="user_json" value='test-JSON_workflow1.json'/> |
| 69 <output name="output_json"> | 88 <output name="output_json"> |
| 70 <assert_contents> | 89 <assert_contents> |
| 71 <has_n_lines n="11" /> | 90 <has_n_lines n="15" /> |
| 72 </assert_contents> | 91 </assert_contents> |
| 73 </output> | 92 </output> |
| 74 </test> | 93 </test> |
| 75 </tests> | 94 </tests> |
| 76 <help><