diff hubArchiveCreator.xml @ 57:b39dd0b5a166 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit ce28781f52a4f84039de300cb41e3982f2e8bf51-dirty
author yating-l
date Fri, 30 Jun 2017 14:49:14 -0400
parents ba9997c847dc
children 583431485006
line wrap: on
line diff
--- a/hubArchiveCreator.xml	Fri Jun 02 17:28:01 2017 -0400
+++ b/hubArchiveCreator.xml	Fri Jun 30 14:49:14 2017 -0400
@@ -73,7 +73,8 @@
                 #set track_color = str($f.formatChoice.track_color)
                 #set group_name = str($g.group_name)
                 #set longLabel = str($f.formatChoice.longLabel)
-                #set extra_data_dict = {"track_color": $track_color,
+                #set extra_data_dict = {"database": "",
+                                        "track_color": $track_color,
                                         "group_name": $group_name,
                                         "long_label": $longLabel}
 
@@ -109,11 +110,15 @@
                     #end if
                     #if $f.formatChoice.bedChoice.bed_select == "bed_blast_alignment_option"
                         --bedBlastAlignments $f.formatChoice.bedChoice.BED_blast_alignment
+                        #set database = str($f.formatChoice.bedChoice.database)
+                        #silent extra_data_dict.update({"database": $database})
                         #silent $prepare_json($f.formatChoice.bedChoice.BED_blast_alignment, $index_track_final,
                                              extra_data_dict)
                     #end if
                     #if $f.formatChoice.bedChoice.bed_select == "bed_blat_alignment_option"
                         --bigpsl $f.formatChoice.bedChoice.BED_blat_alignment
+                        #set database = str($f.formatChoice.bedChoice.database)
+                        #silent extra_data_dict.update({"database": $database})
                         #silent $prepare_json($f.formatChoice.bedChoice.BED_blat_alignment, $index_track_final,
                                              extra_data_dict)
                     #end if
@@ -264,6 +269,12 @@
                                         type="data"
                                         label="Bed Blast Alignments (Bed12+12) File"
                                 />
+                                <param name="database" type="select" label="Protein database">
+                                    <option value="NCBI" selected="true">NCBI</option>
+                                    <option value="Swiss-Prot">Swiss-Prot</option>
+                                    <option value="FlyBase">FlyBase</option>
+                                    <option value="Others">Others</option>
+                                </param>
                             </when>
                             <when value="bed_blat_alignment_option">
                                 <param
@@ -272,6 +283,10 @@
                                         type="data"
                                         label="Bed BLAT Alignments (bigPsl) File"
                                 />
+                                <param name="database" type="select" label="mRNA database">
+                                    <option value="NCBI" selected="true">NCBI</option>
+                                    <option value="Others">Others</option>
+                                </param>
                             </when>
                         </conditional>
                         <param name="longLabel" type="text" size="30" label="Track name" />