annotate picard_NormalizeFasta.xml @ 153:5d881472c379 draft default tip

mm
author Rayan Chikhi <chikhi@psu.edu>
date Mon, 21 Jul 2014 16:36:03 -0400
parents 29447daa90e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
92
29447daa90e0 Uploaded
devteam
parents:
diff changeset
1 <tool name="NormalizeFasta" id="picard_NormalizeFasta" version="1.106.0">
29447daa90e0 Uploaded
devteam
parents:
diff changeset
2 <description>Takes any file that conforms to the fasta format and normalizes it.</description>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
3 <requirements><requirement type="package" version="1.106.0">picard</requirement></requirements>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
4 <command interpreter="bash">
29447daa90e0 Uploaded
devteam
parents:
diff changeset
5 normalizefasta_wrapper.sh NormalizeFasta.jar
29447daa90e0 Uploaded
devteam
parents:
diff changeset
6
29447daa90e0 Uploaded
devteam
parents:
diff changeset
7 ${input}
29447daa90e0 Uploaded
devteam
parents:
diff changeset
8 OUTPUT="${output1}"
29447daa90e0 Uploaded
devteam
parents:
diff changeset
9 #if str( $LINE_LENGTH ):
29447daa90e0 Uploaded
devteam
parents:
diff changeset
10 LINE_LENGTH="${LINE_LENGTH}"
29447daa90e0 Uploaded
devteam
parents:
diff changeset
11 #end if
29447daa90e0 Uploaded
devteam
parents:
diff changeset
12 #if str( $TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE ):
29447daa90e0 Uploaded
devteam
parents:
diff changeset
13 TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE="${TRUNCATE_SEQUENCE_NAMES_AT_WHITESPACE}"
29447daa90e0 Uploaded
devteam
parents:
diff changeset
14 #end if
29447daa90e0 Uploaded
devteam
parents:
diff changeset
15
29447daa90e0 Uploaded
devteam
parents:
diff changeset
16 VALIDATION_STRINGENCY=LENIENT
29447daa90e0 Uploaded
devteam
parents:
diff changeset
17 QUIET=True
29447daa90e0 Uploaded
devteam
parents:
diff changeset
18 TMP_DIR="${__new_file_path__}"
29447daa90e0 Uploaded
devteam
parents:
diff changeset
19 </command>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
20
29447daa90e0 Uploaded
devteam
parents:
diff changeset
21 <inputs>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
22 <param format="fasta" name="input" type="data" label="The input fasta file. Required." help="" />
29447daa90e0 Uploaded
devteam
parents:
diff changeset
23 <param name="title" label="Name for the output fasta file" type="text" default="normalized_fasta" />
29447daa90e0 Uploaded
devteam
parents:
diff changeset
24 <param name="LINE_LENGTH" type="integer" value="100" 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="" />
29447daa90e0 Uploaded
devteam
parents:
diff changeset
25 <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="" />
29447daa90e0 Uploaded
devteam
parents:
diff changeset
26 </inputs>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
27 <outputs>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
28 <data format="fasta" name="output1" label="${title}.fasta" >
29447daa90e0 Uploaded
devteam
parents:
diff changeset
29 </data>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
30 </outputs>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
31 <!-- <tests>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
32 <test> -->
29447daa90e0 Uploaded
devteam
parents:
diff changeset
33 <!-- Here is a command line that works:
29447daa90e0 Uploaded
devteam
parents:
diff changeset
34 java -jar ...
29447daa90e0 Uploaded
devteam
parents:
diff changeset
35 -->
29447daa90e0 Uploaded
devteam
parents:
diff changeset
36 <!-- <param name="inputFile" value="XXCHANGEMEE-input" />
29447daa90e0 Uploaded
devteam
parents:
diff changeset
37 <output name="outFile" file="XXCHANGEMEE-correct-output" lines_diff="2" ftype="XXCHANGEMEE" />
29447daa90e0 Uploaded
devteam
parents:
diff changeset
38 </test>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
39 </tests> -->
29447daa90e0 Uploaded
devteam
parents:
diff changeset
40 <help>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
41 Picard documentation says:
29447daa90e0 Uploaded
devteam
parents:
diff changeset
42
29447daa90e0 Uploaded
devteam
parents:
diff changeset
43
29447daa90e0 Uploaded
devteam
parents:
diff changeset
44 NormalizeFasta
29447daa90e0 Uploaded
devteam
parents:
diff changeset
45
29447daa90e0 Uploaded
devteam
parents:
diff changeset
46 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.
29447daa90e0 Uploaded
devteam
parents:
diff changeset
47 Option Description
29447daa90e0 Uploaded
devteam
parents:
diff changeset
48 INPUT=File The input fasta file to normalize. Required.
29447daa90e0 Uploaded
devteam
parents:
diff changeset
49 OUTPUT=File The output fasta file to write. Required.
29447daa90e0 Uploaded
devteam
parents:
diff changeset
50 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.
29447daa90e0 Uploaded
devteam
parents:
diff changeset
51 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}
29447daa90e0 Uploaded
devteam
parents:
diff changeset
52
29447daa90e0 Uploaded
devteam
parents:
diff changeset
53
29447daa90e0 Uploaded
devteam
parents:
diff changeset
54 </help>
29447daa90e0 Uploaded
devteam
parents:
diff changeset
55 </tool>