0
|
1 <tool id="seqtk_seq" name="Convert to FASTA (seqtk)" version="0.1.0">
|
|
2 <requirements>
|
|
3 <requirement type="package" version="1.2">seqtk</requirement>
|
|
4 </requirements>
|
|
5 <command detect_errors="exit_code"><![CDATA[
|
|
6 seqtk seq -a "$input1" > "$output1"
|
|
7 ]]></command>
|
|
8 <inputs>
|
|
9 <param type="data" name="input1" format="fastq" />
|
|
10 </inputs>
|
|
11 <outputs>
|
|
12 <data name="output1" format="fasta" />
|
|
13 </outputs>
|
|
14 <tests>
|
|
15 <test>
|
|
16 <param name="input1" value="2.fastq"/>
|
|
17 <output name="output1" file="2.fasta"/>
|
|
18 </test>
|
|
19 </tests>
|
|
20 <help><![CDATA[
|
|
21
|
|
22 Usage: seqtk seq [options] <in.fq>|<in.fa>
|
|
23
|
|
24 Options: -q INT mask bases with quality lower than INT [0]
|
|
25 -X INT mask bases with quality higher than INT [255]
|
|
26 -n CHAR masked bases converted to CHAR; 0 for lowercase [0]
|
|
27 -l INT number of residues per line; 0 for 2^32-1 [0]
|
|
28 -Q INT quality shift: ASCII-INT gives base quality [33]
|
|
29 -s INT random seed (effective with -f) [11]
|
|
30 -f FLOAT sample FLOAT fraction of sequences [1]
|
|
31 -M FILE mask regions in BED or name list FILE [null]
|
|
32 -L INT drop sequences with length shorter than INT [0]
|
|
33 -c mask complement region (effective with -M)
|
|
34 -r reverse complement
|
|
35 -A force FASTA output (discard quality)
|
|
36 -C drop comments at the header lines
|
|
37 -N drop sequences containing ambiguous bases
|
|
38 -1 output the 2n-1 reads only
|
|
39 -2 output the 2n reads only
|
|
40 -V shift quality by '(-Q) - 33'
|
|
41 -U convert all bases to uppercases
|
|
42 -S strip of white spaces in sequences
|
|
43
|
|
44
|
|
45 ]]></help>
|
|
46 <citations>
|
|
47 <citation type="bibtex">
|
|
48 @misc{githubseqtk,
|
|
49 author = {LastTODO, FirstTODO},
|
|
50 year = {TODO},
|
|
51 title = {seqtk},
|
|
52 publisher = {GitHub},
|
|
53 journal = {GitHub repository},
|
|
54 url = {https://github.com/lh3/seqtk},
|
|
55 }</citation>
|
|
56 </citations>
|
|
57 </tool> |