-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19428 from paige-kulzer/cram-support
Add IGB display support for CRAM files
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
lib/galaxy/datatypes/display_applications/configs/igb/cram.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<display id="igb_cram" version="0.0.0" name="display in IGB"> | ||
<link id="View" name="View"> | ||
<url>http://bioviz.org/galaxy.html?version=${cram_file.dbkey}&feature_url_0=${cram_file.url}&sym_name_0=${niceName}&sym_method_0=${cram_file.url}&query_url=${cram_file.url}&server_url=galaxy</url> | ||
<param type="data" name="cram_file_for_name" viewable="False"/> | ||
<param type="template" name="niceName" viewable="False" strip="True"> | ||
#import re | ||
#set nm=$cram_file_for_name.name | ||
${re.sub('\W',"_",nm)} | ||
</param> | ||
<param type="data" name="crai_file" url="${niceName}.cram.crai" metadata="cram_index" /> | ||
<param type="data" name="cram_file" url="${niceName}.cram" /> | ||
</link> | ||
</display> |