annotate get_data/cfg/README.md @ 0:89592faa2875 draft

Uploaded
author chrisb
date Wed, 23 Mar 2016 14:35:56 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
89592faa2875 Uploaded
chrisb
parents:
diff changeset
1
89592faa2875 Uploaded
chrisb
parents:
diff changeset
2 #GetCFG
89592faa2875 Uploaded
chrisb
parents:
diff changeset
3
89592faa2875 Uploaded
chrisb
parents:
diff changeset
4
89592faa2875 Uploaded
chrisb
parents:
diff changeset
5 Current implementation uses data discovery
89592faa2875 Uploaded
chrisb
parents:
diff changeset
6
89592faa2875 Uploaded
chrisb
parents:
diff changeset
7 * Galaxy note - each msa file is exposed as a new dataset in your history, thus links in this html file do not work in Galaxy. You may need to refresh your history to see all datasets.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
8
89592faa2875 Uploaded
chrisb
parents:
diff changeset
9
89592faa2875 Uploaded
chrisb
parents:
diff changeset
10 ## Dev notes and thoughts
89592faa2875 Uploaded
chrisb
parents:
diff changeset
11
89592faa2875 Uploaded
chrisb
parents:
diff changeset
12 ## Dealing with multiple output data sets
89592faa2875 Uploaded
chrisb
parents:
diff changeset
13
89592faa2875 Uploaded
chrisb
parents:
diff changeset
14 https://wiki.galaxyproject.org/Admin/Tools/Multiple%20Output%20Files
89592faa2875 Uploaded
chrisb
parents:
diff changeset
15
89592faa2875 Uploaded
chrisb
parents:
diff changeset
16 2 options, either html with links to msa files or 'data discovery'
89592faa2875 Uploaded
chrisb
parents:
diff changeset
17
89592faa2875 Uploaded
chrisb
parents:
diff changeset
18 Seems like HTML is best
89592faa2875 Uploaded
chrisb
parents:
diff changeset
19 ### HTML
89592faa2875 Uploaded
chrisb
parents:
diff changeset
20 Unsure if can be used properly in workflows?
89592faa2875 Uploaded
chrisb
parents:
diff changeset
21 The application must create and write valid html to setup the page $html_file seen by the user when they view (eye icon) the file. It must create and write that new file at the path passed by Galaxy as the $html_file command line parameter. All application outputs that will be included as links in that html code should be placed in the specific output directory $html_file.files_path passed on the command line. The external application is responsible for creating that directory before writing images and files into it. When generating the html, The files written by the application to $html_file.files_path are referenced in links directly by their name, without any other path decoration
89592faa2875 Uploaded
chrisb
parents:
diff changeset
22
89592faa2875 Uploaded
chrisb
parents:
diff changeset
23 ####
89592faa2875 Uploaded
chrisb
parents:
diff changeset
24 html works but html file is considered the history item, the msa files are not accessible in the workflow.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
25 Idea:
89592faa2875 Uploaded
chrisb
parents:
diff changeset
26 Once the html has been generated the number of msa will be known.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
27 create another xml to output the number of msa files found (or possibly generate this in a txt file here?)
89592faa2875 Uploaded
chrisb
parents:
diff changeset
28 then create another xml to 'output' msa data as individual history items.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
29 will not work as the filter is usually a boolean condition rather than an integer condition. Also a small number of outputs is easily supported but not much more.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
30
89592faa2875 Uploaded
chrisb
parents:
diff changeset
31 Not sure how this will fit into a workflow. Maybe this will be useful for creating data libraries -> no as msa files are not accessible.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
32
89592faa2875 Uploaded
chrisb
parents:
diff changeset
33 ### DATA DISCOVERY
89592faa2875 Uploaded
chrisb
parents:
diff changeset
34 Cons : discovered datasets cannot be used with workflows and require the user to refresh their history before they are shown.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
35 Sure but at least you get access to the msa files. These can then be exported to other histories quite easily and/or used to make data libraries.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
36
89592faa2875 Uploaded
chrisb
parents:
diff changeset
37 Data discovery works great.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
38