Question: Next line in XML
gravatar for KeyGene
3.9 years ago by
KeyGene10 wrote:

I am wondering if it is possible to introduce empty lines / next line breaks to the description of a tool in Galaxy? So that it will become more visually attractive (description below tool name)

<description>Read mapping and variant calling</description>


line tool galaxy • 792 views
ADD COMMENTlink modified 3.9 years ago by Jennifer Hillman Jackson25k • written 3.9 years ago by KeyGene10
gravatar for Jennifer Hillman Jackson
3.9 years ago by
United States
Jennifer Hillman Jackson25k wrote:


General guidelines:

  1. For tag pairs that are self-contained, please keep everything on the same line. Meaning, do not introduce new lines. Technically, new lines are just converted to spaces by the parser, but this is the formatting used for Galaxy tool dev.

  2. Use indentation for nested tags, this helps with readability. Yes, the tags are split on different lines with these, but it serves a different "ease of readability" purpose, and is not just for aesthetics.

  3. Try to use the format conventions already in use - this will help others when reading, potentially revising.

  4. All other standard XML formatting rules apply, of course, but you probably knew that. A google will bring up specs if you need specific help.

To help more, I wanted to find you a few simple examples of existing tool's XML that you can use to model after. And please explore other tools in the distrubution or the Tool Shed ( for even more.

Here is one that includes the wrapper name, tool version, and such - plus "help" on the tool form and a citation:

And this is a simple one that has comments included a the top:

Hopefully this helps! If our dev team has more to add, they will post. Jen, Galaxy team

ADD COMMENTlink modified 3.9 years ago • written 3.9 years ago by Jennifer Hillman Jackson25k

Hi Jennifer. Thanks for your reply, unfortunately I didn't make my question clear enough it seems. I meant that I want to introduce a next line immediately after the description tag. For example <description>\nHere is my description</description> so that when visiting the Galaxy interface, a Tools description is below the tool name instead of partially behind/underneath it. 

ADD REPLYlink written 3.9 years ago by KeyGene10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 181 users visited in the last hour