<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE pise SYSTEM "PARSER/pise.dtd" [
<!ENTITY emboss_init SYSTEM "XMLDIR/emboss.xml">
]>

<pise>

<head>
<title>CIRDNA</title>
<description>Draws circular maps of DNA constructs (EMBOSS)</description>
<category>display</category>
<doclink>http://bioweb.pasteur.fr/docs/EMBOSS/cirdna.html</doclink>
</head>

<command>cirdna</command>

<parameters>

&emboss_init;

<parameter type="Excl" ismandatory="0" issimple="0" ishidden="0">
<name>graphout</name>
<attributes>
	<prompt>graphout [device to be displayed on] (-graphout)</prompt>
		<vlist>
			<value>x11</value>
			<label>x11</label>
			<value>hp7470</value>
			<label>hp7470</label>
			<value>postscript</value>
			<label>postscript</label>
			<value>cps</value>
			<label>cps</label>
			<value>hp7580</value>
			<label>hp7580</label>
			<value>null</value>
			<label>null</label>
			<value>data</value>
			<label>data</label>
			<value>colourps</value>
			<label>colourps</label>
			<value>text</value>
			<label>text</label>
			<value>none</value>
			<label>none</label>
			<value>tek4107t</value>
			<label>tek4107t</label>
			<value>tekt</value>
			<label>tekt</label>
			<value>xwindows</value>
			<label>xwindows</label>
			<value>hpgl</value>
			<label>hpgl</label>
			<value>xterm</value>
			<label>xterm</label>
			<value>meta</value>
			<label>meta</label>
			<value>ps</value>
			<label>ps</label>
			<value>tek</value>
			<label>tek</label>
			<value>png</value>
			<label>png</label>
			<value>tektronics</value>
			<label>tektronics</label>
		</vlist>
	<vdef><value>postscript</value></vdef>
	<format>
		<language>perl</language>
		<code>($value)? " -graphout=$value" : ""</code>
	</format>
	<group>1</group>
</attributes>
</parameter>

<parameter type="InFile" ismandatory="1" issimple="1" ishidden="0">
<name>infile</name>
<attributes>
	<prompt>input file containing mapping data (-infile)</prompt>
	<format>
		<language>perl</language>
		<code>" -infile=$value"</code>
	</format>
	<group>2</group>
</attributes>
</parameter>

<parameter type="Switch" ismandatory="0" issimple="0" ishidden="0">
<name>ruler</name>
<attributes>
	<prompt>do you want a ruler (-ruler)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>($value)? "" : " -noruler"</code>
	</format>
	<group>3</group>
</attributes>
</parameter>

<parameter type="Excl" ismandatory="0" issimple="0" ishidden="0">
<name>blocktype</name>
<attributes>
	<prompt>type of blocks (-blocktype)</prompt>
		<vlist>
			<value>1</value>
			<label>Open</label>
			<value>2</value>
			<label>Filled</label>
			<value>3</value>
			<label>Outline</label>
		</vlist>
	<vdef>
		<value>Filled</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>($value &amp;&amp; $value ne $vdef)? " -blocktype=$value" : ""</code>
	</format>
	<group>4</group>
	<comment>
		<value>type of blocks: Open, Filled, or Outline. Option 'Outline' draws filled blocks surrounded by a black border</value>
	</comment>
</attributes>
</parameter>

<parameter type="Float" ismandatory="0" issimple="0" ishidden="0">
<name>originangle</name>
<attributes>
	<prompt>position of the molecule's origin on the circle (enter a number in the range 0 - 360) (-originangle)</prompt>
	<vdef>
		<value>90</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -originangle=$value" : ""</code>
	</format>
	<group>5</group>
	<scalemax><value>360</value></scalemax>
</attributes>
</parameter>

<parameter type="Excl" ismandatory="0" issimple="0" ishidden="0">
<name>posticks</name>
<attributes>
	<prompt>ticks inside or outside the circle (enter In or Out) (-posticks)</prompt>
		<vlist>
			<value>1</value>
			<label>In</label>
			<value>2</value>
			<label>Out</label>
		</vlist>
	<vdef>
		<value>Out</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>($value &amp;&amp; $value ne $vdef)? " -posticks=$value" : ""</code>
	</format>
	<group>6</group>
</attributes>
</parameter>

<parameter type="Excl" ismandatory="0" issimple="0" ishidden="0">
<name>posblocks</name>
<attributes>
	<prompt>text inside or outside the blocks (enter In or Out) (-posblocks)</prompt>
		<vlist>
			<value>1</value>
			<label>In</label>
			<value>2</value>
			<label>Out</label>
		</vlist>
	<vdef>
		<value>In</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>($value &amp;&amp; $value ne $vdef)? " -posblocks=$value" : ""</code>
	</format>
	<group>7</group>
</attributes>
</parameter>

<parameter type="Switch" ismandatory="0" issimple="0" ishidden="0">
<name>intersymbol</name>
<attributes>
	<prompt>do you want horizontal junctions between blocks (-intersymbol)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>($value)? "" : " -nointersymbol"</code>
	</format>
	<group>8</group>
</attributes>
</parameter>

<parameter type="Integer" ismandatory="0" issimple="0" ishidden="0">
<name>intercolour</name>
<attributes>
	<prompt>colour of junctions between blocks (enter a colour number) (-intercolour)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -intercolour=$value" : ""</code>
	</format>
	<group>9</group>
	<scalemax><value>15</value></scalemax>
</attributes>
</parameter>

<parameter type="Switch" ismandatory="0" issimple="0" ishidden="0">
<name>interticks</name>
<attributes>
	<prompt>do you want horizontal junctions between ticks (-interticks)</prompt>
	<vdef>
		<value>0</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>($value)? " -interticks" : ""</code>
	</format>
	<group>10</group>
</attributes>
</parameter>

<parameter type="Integer" ismandatory="0" issimple="0" ishidden="0">
<name>gapsize</name>
<attributes>
	<prompt>interval between ticks in the ruler (enter an integer) (-gapsize)</prompt>
	<vdef>
		<value>500</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -gapsize=$value" : ""</code>
	</format>
	<group>11</group>
</attributes>
</parameter>

<parameter type="Switch" ismandatory="0" issimple="0" ishidden="0">
<name>ticklines</name>
<attributes>
	<prompt>do you want vertical lines at the ruler's ticks (-ticklines)</prompt>
	<vdef>
		<value>0</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>($value)? " -ticklines" : ""</code>
	</format>
	<group>12</group>
</attributes>
</parameter>

<parameter type="Float" ismandatory="0" issimple="0" ishidden="0">
<name>textheight</name>
<attributes>
	<prompt>height of text (enter a number to multiply the default height) (-textheight)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -textheight=$value" : ""</code>
	</format>
	<group>13</group>
	<comment>
		<value>height of text. Enter a number &lt;1 or &gt;1 to decrease or increase the size, respectively</value>
	</comment>
</attributes>
</parameter>

<parameter type="Float" ismandatory="0" issimple="0" ishidden="0">
<name>textlength</name>
<attributes>
	<prompt>length of text (enter a number to multiply the default length) (-textlength)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -textlength=$value" : ""</code>
	</format>
	<group>14</group>
	<comment>
		<value>length of text. Enter a number &lt;1 or &gt;1 to decrease or increase the size, respectively</value>
	</comment>
</attributes>
</parameter>

<parameter type="Float" ismandatory="0" issimple="0" ishidden="0">
<name>tickheight</name>
<attributes>
	<prompt>height of ticks (enter a number to multiply the default height) (-tickheight)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -tickheight=$value" : ""</code>
	</format>
	<group>15</group>
	<comment>
		<value>height of ticks. Enter a number &lt;1 or &gt;1 to decrease or increase the size, respectively</value>
	</comment>
</attributes>
</parameter>

<parameter type="Float" ismandatory="0" issimple="0" ishidden="0">
<name>blockheight</name>
<attributes>
	<prompt>height of blocks (enter a number to multiply the default height) (-blockheight)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -blockheight=$value" : ""</code>
	</format>
	<group>16</group>
	<comment>
		<value>height of blocks. Enter a number &lt;1 or &gt;1 to decrease or increase the size, respectively</value>
	</comment>
</attributes>
</parameter>

<parameter type="Float" ismandatory="0" issimple="0" ishidden="0">
<name>rangeheight</name>
<attributes>
	<prompt>height of range ends (enter a number to multiply the default height) (-rangeheight)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -rangeheight=$value" : ""</code>
	</format>
	<group>17</group>
	<comment>
		<value>height of range ends. Enter a number &lt;1 or &gt;1 to decrease or increase the size, respectively</value>
	</comment>
</attributes>
</parameter>

<parameter type="Float" ismandatory="0" issimple="0" ishidden="0">
<name>gapgroup</name>
<attributes>
	<prompt>space between groups (enter a number to multiply the default space) (-gapgroup)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -gapgroup=$value" : ""</code>
	</format>
	<group>18</group>
	<comment>
		<value>space between groups. Enter a number &lt;1 or &gt;1 to decrease or increase the size, respectively</value>
	</comment>
</attributes>
</parameter>

<parameter type="Float" ismandatory="0" issimple="0" ishidden="0">
<name>postext</name>
<attributes>
	<prompt>space between text and ticks, blocks, and ranges (enter a number to multiply the default space) (-postext)</prompt>
	<vdef>
		<value>1</value>
	</vdef>
	<format>
		<language>perl</language>
		<code>(defined $value &amp;&amp; $value != $vdef)? " -postext=$value" : ""</code>
	</format>
	<group>19</group>
	<comment>
		<value>space between text and ticks, blocks, and ranges. Enter a number &lt;1 or &gt;1 to decrease or increase the size, respectively</value>
	</comment>
</attributes>
</parameter>

<parameter type="String" ishidden="1">
<name>auto</name>
<attributes>
	<format>
		<language>perl</language>
		<code>" -auto -stdout"</code>
	</format>
	<group>20</group>
</attributes>
</parameter>
<parameter type="Results">
<name>psresults_graphout</name>
<attributes>
	<precond>
		<language>perl</language>
		<code>$graphout eq "postscript" || $graphout eq "ps" || $graphout eq "colourps" || $graphout eq "cps"</code>
	</precond>
	<filenames>*.ps</filenames>
</attributes>
</parameter>
<parameter type="Results">
<name>metaresults_graphout</name>
<attributes>
	<precond>
		<language>perl</language>
		<code>$graphout eq "meta"</code>
	</precond>
	<filenames>*.meta</filenames>
</attributes>
</parameter>
<parameter type="Results">
<name>dataresults_graphout</name>
<attributes>
	<precond>
		<language>perl</language>
		<code>$graphout eq "data"</code>
	</precond>
	<filenames>*.dat</filenames>
</attributes>
</parameter>
<parameter type="Results">
<name>pngresults_graphout</name>
<attributes>
	<precond>
		<language>perl</language>
		<code>$graphout eq "png"</code>
	</precond>
	<filenames>*.png *.2 *.3</filenames>
</attributes>
</parameter>
<parameter type="Results">
<name>hpglresults_graphout</name>
<attributes>
	<precond>
		<language>perl</language>
		<code>$graphout =~ /hp/</code>
	</precond>
	<filenames>*.hpgl</filenames>
</attributes>
</parameter>

</parameters>
</pise>
