comparison picard_NormalizeFasta.xml @ 71:2e90d8b7dfa7 draft

Uploaded
author devteam
date Wed, 19 Feb 2014 17:59:27 -0500
parents
children
comparison
equal deleted inserted replaced
70:92e50e57c1e5 71:2e90d8b7dfa7
1 <tool name="NormalizeFasta" id="picard_NormalizeFasta" version="1.106.0">
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>
3 <requirements><requirement type="package" version="1.106.0">picard</requirement></requirements>
4 <command interpreter="java -jar -Xmx8g">
5 $JAVA_JAR_PATH/NormalizeFasta.jar
6
7 #if str( $OUTPUT ):
8 OUTPUT="${OUTPUT}"
9 #end if
10 #if str( $LINE_LENGTH ):
11 LINE_LENGTH="${LINE_LENGTH}"
12 #end if
13 #if str( $TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE ):
14 TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE="${TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE}"
15 #end if
16
17 VALIDATION_STRINGENCY=LENIENT
18 QUIET=True
19 TMP_DIR="${__new_file_path__}"
20 </command>
21
22 <stdio>
23 <exit_code range="0" level="warning" description="Tool finished correctly" />
24 </stdio>
25
26 <inputs>
27 <param format="XXCHANGEMEEE" name="OUTPUT" type="data" label="The output fasta file to write. Required." help="" />
28 <param format="XXCHANGEMEEE" name="LINE_LENGTH" type="string" 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="" />
29 <param format="XXCHANGEMEEE" 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="" />
30 </inputs>
31 <outputs>
32 <data name="outFile" format="XXCHANGEMEEE">
33 </data>
34 </outputs>
35 <tests>
36 <test>
37 <!-- Here is a command line that works:
38 java -jar ...
39 -->
40 <param name="inputFile" value="XXCHANGEMEE-input" />
41 <output name="outFile" file="XXCHANGEMEE-correct-output" lines_diff="2" ftype="XXCHANGEMEE" />
42 </test>
43 </tests>
44 <help>
45 Picard documentation says:
46
47
48 NormalizeFasta
49
50 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.
51 Option Description
52 INPUT=File The input fasta file to normalize. Required.
53 OUTPUT=File The output fasta file to write. Required.
54 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.
55 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}
56
57
58 </help>
59 </tool>