annotate picard_NormalizeFasta.xml @ 75:7f20c80e67be draft

Uploaded
author devteam
date Wed, 19 Feb 2014 23:04:09 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
75
7f20c80e67be Uploaded
devteam
parents:
diff changeset
1 <tool name="NormalizeFasta" id="picard_NormalizeFasta" version="1.106.0">
7f20c80e67be Uploaded
devteam
parents:
diff changeset
2 <description>Takes any file that conforms to the fasta format and normalizes it so that all lines of sequence except the last line per named sequence are of the same length.</description>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
3 <requirements><requirement type="package" version="1.106.0">picard</requirement></requirements>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
4 <command interpreter="java -jar -Xmx8g">
7f20c80e67be Uploaded
devteam
parents:
diff changeset
5 $JAVA_JAR_PATH/NormalizeFasta.jar
7f20c80e67be Uploaded
devteam
parents:
diff changeset
6
7f20c80e67be Uploaded
devteam
parents:
diff changeset
7 #if str( $OUTPUT ):
7f20c80e67be Uploaded
devteam
parents:
diff changeset
8 OUTPUT="${OUTPUT}"
7f20c80e67be Uploaded
devteam
parents:
diff changeset
9 #end if
7f20c80e67be Uploaded
devteam
parents:
diff changeset
10 #if str( $LINE_LENGTH ):
7f20c80e67be Uploaded
devteam
parents:
diff changeset
11 LINE_LENGTH="${LINE_LENGTH}"
7f20c80e67be Uploaded
devteam
parents:
diff changeset
12 #end if
7f20c80e67be Uploaded
devteam
parents:
diff changeset
13 #if str( $TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE ):
7f20c80e67be Uploaded
devteam
parents:
diff changeset
14 TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE="${TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE}"
7f20c80e67be Uploaded
devteam
parents:
diff changeset
15 #end if
7f20c80e67be Uploaded
devteam
parents:
diff changeset
16
7f20c80e67be Uploaded
devteam
parents:
diff changeset
17 VALIDATION_STRINGENCY=LENIENT
7f20c80e67be Uploaded
devteam
parents:
diff changeset
18 QUIET=True
7f20c80e67be Uploaded
devteam
parents:
diff changeset
19 TMP_DIR="${__new_file_path__}"
7f20c80e67be Uploaded
devteam
parents:
diff changeset
20 </command>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
21
7f20c80e67be Uploaded
devteam
parents:
diff changeset
22 <stdio>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
23 <exit_code range="0" level="warning" description="Tool finished correctly" />
7f20c80e67be Uploaded
devteam
parents:
diff changeset
24 </stdio>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
25
7f20c80e67be Uploaded
devteam
parents:
diff changeset
26 <inputs>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
27 <param name="title" label="Name for the output fasta file" type="text" default="output" />
7f20c80e67be Uploaded
devteam
parents:
diff changeset
28 <param format="fasta" name="OUTPUT" type="data" label="The output fasta file to write. Required." help="" />
7f20c80e67be Uploaded
devteam
parents:
diff changeset
29 <param name="LINE_LENGTH" type="integer" label="The line length to be used for the output fasta file. Default value: 100. This option can be set to 'null' to clear the default value." help="" />
7f20c80e67be Uploaded
devteam
parents:
diff changeset
30 <param name="TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE" type="boolean" label="Truncate sequence names at first whitespace. Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}" help="" />
7f20c80e67be Uploaded
devteam
parents:
diff changeset
31 </inputs>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
32 <outputs>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
33 <data format="fasta" name="output1" label="${title}.fasta" >
7f20c80e67be Uploaded
devteam
parents:
diff changeset
34 </data>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
35 </outputs>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
36 <!-- <tests>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
37 <test> -->
7f20c80e67be Uploaded
devteam
parents:
diff changeset
38 <!-- Here is a command line that works:
7f20c80e67be Uploaded
devteam
parents:
diff changeset
39 java -jar ...
7f20c80e67be Uploaded
devteam
parents:
diff changeset
40 -->
7f20c80e67be Uploaded
devteam
parents:
diff changeset
41 <!-- <param name="inputFile" value="XXCHANGEMEE-input" />
7f20c80e67be Uploaded
devteam
parents:
diff changeset
42 <output name="outFile" file="XXCHANGEMEE-correct-output" lines_diff="2" ftype="XXCHANGEMEE" />
7f20c80e67be Uploaded
devteam
parents:
diff changeset
43 </test>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
44 </tests> -->
7f20c80e67be Uploaded
devteam
parents:
diff changeset
45 <help>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
46 Picard documentation says:
7f20c80e67be Uploaded
devteam
parents:
diff changeset
47
7f20c80e67be Uploaded
devteam
parents:
diff changeset
48
7f20c80e67be Uploaded
devteam
parents:
diff changeset
49 NormalizeFasta
7f20c80e67be Uploaded
devteam
parents:
diff changeset
50
7f20c80e67be Uploaded
devteam
parents:
diff changeset
51 Takes any file that conforms to the fasta format and normalizes it so that all lines of sequence except the last line per named sequence are of the same length.
7f20c80e67be Uploaded
devteam
parents:
diff changeset
52 Option Description
7f20c80e67be Uploaded
devteam
parents:
diff changeset
53 INPUT=File The input fasta file to normalize. Required.
7f20c80e67be Uploaded
devteam
parents:
diff changeset
54 OUTPUT=File The output fasta file to write. Required.
7f20c80e67be Uploaded
devteam
parents:
diff changeset
55 LINE_LENGTH=Integer The line length to be used for the output fasta file. Default value: 100. This option can be set to 'null' to clear the default value.
7f20c80e67be Uploaded
devteam
parents:
diff changeset
56 TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE=Boolean Truncate sequence names at first whitespace. Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}
7f20c80e67be Uploaded
devteam
parents:
diff changeset
57
7f20c80e67be Uploaded
devteam
parents:
diff changeset
58
7f20c80e67be Uploaded
devteam
parents:
diff changeset
59 </help>
7f20c80e67be Uploaded
devteam
parents:
diff changeset
60 </tool>