annotate pbmm2.xml @ 1:f4ec47f1a8da draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit 037e03be14baed6dbb55af7830dc0e61d1a48862
author iuc
date Mon, 13 Mar 2023 11:34:01 +0000
parents 29eec6c7bab2
children 55b7b257e12f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
1 <tool id="pbmm2" name="pbmm2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
2 <description>map PacBio reads to a reference genome.</description>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
3 <macros>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
4 <import>macros.xml</import>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
5 </macros>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
6 <expand macro="xrefs"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
9 ## set up files
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
10 #set reads_fn = 'reads.' + $reads.ext
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
11 ln -s '$reads' '$reads_fn' &&
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
12
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
13 #if $reference_source.reference_source_selector == 'history':
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
14 #set ref_fn = 'reference.fa'
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
15 ln -f -s '$reference_source.ref_file' '$ref_fn' &&
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
16 #else:
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
17 #set ref_fn = $reference_source.ref_file.fields.path
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
18 #end if
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
19
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
20 ## run pbmm2
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
21 pbmm2 align
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
22 -j \${GALAXY_SLOTS:-4}
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
23 '$reads_fn'
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
24 '$ref_fn'
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
25 out.aligned.bam
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
26 --sort
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
27 ]]></command>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
28 <inputs>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
29 <!-- from tools-iuc minimap2 wrapper -->
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
30 <conditional name="reference_source">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
31 <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in index?">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
32 <option value="cached">Use a built-in genome index</option>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
33 <option value="history">Use a genome from history and build index</option>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
34 </param>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
35 <when value="cached">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
36 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
37 <options from_data_table="all_fasta">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
38 <filter type="sort_by" column="2" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
39 <validator type="no_options" message="No reference genomes are available" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
40 </options>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
41 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
42 </param>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
43 </when>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
44 <when value="history">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
45 <param name="ref_file" type="data" format="fasta" label="Use the following dataset as the reference sequence" help="You can upload a FASTA sequence to the history and use it as reference" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
46 </when>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
47 </conditional>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
48 <param type="data" name="reads" format="fastq,fastq.gz,fasta,fasta.gz,bam" label="reads" help="PacBio reads in BAM or [gzipped] fasta or fastq format." />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
49 </inputs>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
50 <outputs>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
51 <data name="bam" format="bam" from_work_dir="out.aligned.bam" label="${tool.name} on ${on_string} (BAM file)" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
52 </outputs>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
53 <tests>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
54 <!-- test1: basic test -->
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
55 <test expect_num_outputs="1">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
56 <param name="reference_source_selector" value="history" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
57 <param name="ref_file" ftype="fasta" value="bnd-ref.fasta"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
58 <param name="reads" value="bnd.bam"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
59 <output name="bam">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
60 <assert_contents>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
61 <has_size value="2778" delta="200" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
62 </assert_contents>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
63 </output>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
64 </test>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
65 <!-- test2: map some reads for use with pbgcpp -->
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
66 <test expect_num_outputs="1">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
67 <param name="reference_source_selector" value="history" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
68 <param name="ref_file" ftype="fasta" value="All4mer.V2.01_Insert.fa"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
69 <param name="reads" value="out.aligned_subreads.bam"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
70 <output name="bam">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
71 <assert_contents>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
72 <has_size value="539464" delta="50000" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
73 </assert_contents>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
74 </output>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
75 </test>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
76 <!-- test3: cached genome -->
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
77 <test>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
78 <param name="reference_source_selector" value="cached" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
79 <param name="ref_file" value="bnd-ref"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
80 <param name="reads" value="bnd.bam"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
81 <output name="bam">
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
82 <assert_contents>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
83 <has_size value="2778" delta="200" />
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
84 </assert_contents>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
85 </output>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
86 </test>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
87 </tests>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
88 <help><![CDATA[
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
89 **What it does**
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
90
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
91 A minimap2 wrapper for PacBio data: native PacBio data in ⇨ native
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
92 PacBio BAM out.
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
93
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
94 --------------
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
95
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
96 pbmm2 is Pacific Biosciences’ wrapper for
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
97 `minimap2 <https://github.com/lh3/minimap2>`__\ ’s C API. It supports
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
98 native PacBio input. Output can be used directly for polishing using
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
99 `pbgcpp <root?tool_id=pbgcpp>`__.
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
100
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
101 **Input**: PacBio reads in bam or [gzipped] fasta or fastq format.
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
102 **NOTE**: to use the output of pbmm2 for pbgcpp (GenomicConsensus), you
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
103 have to provide PacBio CLR reads in bam format. You can use pbmm2 to
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
104 align other types of PacBio reads in [gzipped] fasta or fastq format,
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
105 but you can’t use the output for pbgcpp (GenomicConsensus).
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
106
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
107 **Output**: A **sorted** PacBio BAM file, suitable for use with
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
108 pbgcpp (previously known as GenomicConsensus).
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
109
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
110 ]]></help>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
111 <expand macro="creator"/>
29eec6c7bab2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff changeset
112 </tool>