annotate guppy_basecaller.xml @ 3:758bc20232e8 draft

"planemo upload commit 2a0fe2cc28b09e101d37293e53e82f61762262ec"
author shellac
date Thu, 14 May 2020 16:20:52 -0400
parents 6af9afd405e9
children 79f47841a781
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
758bc20232e8 "planemo upload commit 2a0fe2cc28b09e101d37293e53e82f61762262ec"
shellac
parents: 2
diff changeset
1 <tool id="guppy-basecaller" name="Guppy basecaller wrapper" version="0.1.1">
0
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
2 <description>A simple wrapper for guppy basecaller that depends on configuration files</description>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
3 <requirements>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
4 </requirements>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
5 <command detect_errors="exit_code"><![CDATA[
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
6 ln -s $infile input.fast5 &&
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
7 tar xf $config &&
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
8 guppy_basecaller -i . -s out -d . -c *.cfg
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
9 ]]></command>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
10 <inputs>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
11 <param name="infile" type="data" format="h5" label="Fast5 input"/>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
12 <param name="config" type="data" format="tar" label="Guppy basecall configuration model"/>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
13 </inputs>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
14 <outputs>
3
758bc20232e8 "planemo upload commit 2a0fe2cc28b09e101d37293e53e82f61762262ec"
shellac
parents: 2
diff changeset
15 <data name="results" format="fastq">
0
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
16 <discover_datasets directory="out" ext="fastq" pattern=".+\.fastq" visible="true"/>
3
758bc20232e8 "planemo upload commit 2a0fe2cc28b09e101d37293e53e82f61762262ec"
shellac
parents: 2
diff changeset
17 </data>
758bc20232e8 "planemo upload commit 2a0fe2cc28b09e101d37293e53e82f61762262ec"
shellac
parents: 2
diff changeset
18 <!--<data format="fastq" name="output" label="Modified FASTQ"/>-->
0
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
19 </outputs>
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
20 <help><![CDATA[
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
21 A wrapper for guppy basecaller. This expects two inputs: a fast5 file, and a configuration in the form of a tar file.
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
22
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
23 You can find configurations at https://github.com/nanoporetech/rerio, and in particular the directory https://github.com/nanoporetech/rerio/basecall_models.
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
24
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
25 Each file there contains a URL you can download to use, for example https://github.com/nanoporetech/rerio/blob/master/basecall_models/res_rna2_r941_min_flipflop_v001 points to 'https://nanoporetech.box.com/shared/static/84e1jeudx8lr8ay7e9u1ebnvx3bk2kjf.tgz'
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
26
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
27 When uploading these .tgz files take care to set the format to 'tar' (galaxy doesn't autodetect this?).
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
28
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
29 The result should be a fastq file.
26e78fe6e8c4 "planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
shellac
parents:
diff changeset
30 ]]></help>
2
6af9afd405e9 "planemo upload commit 0a63dd5f4d38a1f6944587f52a8cd79874177fc1"
shellac
parents: 0
diff changeset
31 </tool>