comparison chat_analysis.xml @ 7:ea1c4179b2b9 draft

planemo upload for repository https://github.com/goeckslab/ChatAnalysis commit ca6d6493b0ebe9daa65de5ff5ea13b3e412c86c3
author goeckslab
date Sat, 14 Jun 2025 02:45:41 +0000
parents 1ee654186809
children 13cf52df8751
comparison
equal deleted inserted replaced
6:1ee654186809 7:ea1c4179b2b9
1 <tool id="interactive_tool_chat_analysis" tool_type="interactive" name="Chat with your data" version="0.2.2"> 1 <tool id="interactive_tool_chat_analysis" tool_type="interactive" name="Chat with your data" version="0.3.0">
2 <icon src="datachat.png" /> 2 <icon src="datachat.png" />
3 <description>Use natural language to work with and analyze your data</description> 3 <description>Use natural language to work with and analyze your data</description>
4 <requirements> 4 <requirements>
5 <container type="docker"> 5 <container type="docker">
6 quay.io/goeckslab/chatanalysis:release 6 quay.io/goeckslab/chatanalysis:0.3.0
7 </container> 7 </container>
8 </requirements> 8 </requirements>
9 <entry_points> 9 <entry_points>
10 <entry_point name="Chat with $input_dataset.element_identifier" requires_domain="True"> 10 <entry_point name="Chat with $input_dataset.element_identifier" requires_domain="True">
11 <port> 11 <port>
12 8501 12 9090
13 </port> 13 </port>
14 <url> 14 <url>
15 / 15 /
16 </url> 16 </url>
17 </entry_point> 17 </entry_point>
19 <command> 19 <command>
20 <![CDATA[ 20 <![CDATA[
21 #import re 21 #import re
22 echo "Starting Streamlit" && 22 echo "Starting Streamlit" &&
23 echo "working dir now: `pwd`" && 23 echo "working dir now: `pwd`" &&
24 mkdir -p generated_files && 24 mkdir -p outputs_dir &&
25 #set $sanitized_input_dataset = re.sub('[^\w\-_\.]', '_', $input_dataset.element_identifier.strip()) 25 #set $sanitized_input_dataset = re.sub('[^\w\-_\.]', '_', $input_dataset.element_identifier.strip())
26 ln -sf '$input_dataset' "./${sanitized_input_dataset}"; 26 ln -sf '$input_dataset' "./${sanitized_input_dataset}";
27 echo "sanitized input dataset: $sanitized_input_dataset" && 27 echo "sanitized input dataset: $sanitized_input_dataset" &&
28 echo "input dataset: $input_dataset" && 28 echo "input dataset: $input_dataset" &&
29 echo "$input_dataset.ext" && 29 echo "$input_dataset.ext" &&
30 ln -sf $__tool_directory__/.env /ChatAnalysis/.env && 30 ln -sf $__tool_directory__/.env /ChatAnalysis/.env &&
31 streamlit run /ChatAnalysis/Chat.py 31 python /ChatAnalysis/chat_dspy.py
32 "$__user_email__" 32 --user_id "$__user_email__"
33 "$openai_api_key_file" 33 --openai_key_file "$openai_api_key_file"
34 "$groq_api_key_file" 34 --groq_key_file "$groq_api_key_file"
35 "$chat_history" 35 --chat_history "$chat_history"
36 "./generated_files" 36 --outputs_dir "./outputs_dir"
37 "$input_dataset" 37 --input_file "$input_dataset"
38 "$input_dataset.ext" 38 --input_type "$input_dataset.ext" &&
39 --browser.gatherUsageStats false && 39 echo "finished" &&
40 echo "Streamlit finished" &&
41 echo "working dir now: '.' " 40 echo "working dir now: '.' "
42 41
43 ]]> 42 ]]>
44 </command> 43 </command>
45 <configfiles> 44 <configfiles>