Mercurial > repos > iuc > pbmm2
annotate pbmm2.xml @ 2:55b7b257e12f draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
author | iuc |
---|---|
date | Wed, 21 Feb 2024 10:27:49 +0000 |
parents | 29eec6c7bab2 |
children |
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} |
2
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
23 #if str($output_options.l): |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
24 -l $output_options.l |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
25 #end if |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
26 #if str($output_options.N): |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
27 -N $output_options.N |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
28 #end if |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
29 --preset $preset |
0
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
30 '$reads_fn' |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
31 '$ref_fn' |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
32 out.aligned.bam |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
33 --sort |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
34 ]]></command> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
35 <inputs> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
36 <!-- 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
|
37 <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
|
38 <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
|
39 <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
|
40 <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
|
41 </param> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
42 <when value="cached"> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
43 <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
|
44 <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
|
45 <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
|
46 <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
|
47 </options> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
48 <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
|
49 </param> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
50 </when> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
51 <when value="history"> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
52 <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
|
53 </when> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
54 </conditional> |
2
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
55 <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"/> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
56 <param argument="--preset" type="select" |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
57 label="Set alignment mode"> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
58 <option value="CCS">PacBio CCS or HiFi reads</option> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
59 <option value="SUBREAD">PacBio CLR or raw subreads</option> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
60 <option value="ISOSEQ">PacBio IsoSeq transcripts</option> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
61 <option value="UNROLLED">Align entire raw ZMW</option> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
62 </param> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
63 <section name="output_options" title="Output Options" help="Sets -l, -N, --strip, --split-by-sample, --unmapped, --short-sa-cigar" expanded="False"> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
64 <param argument="-l" type="integer" min="0" label="Minimum mapped read length in basepairs" value="50" optional="true"/> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
65 <param argument="-N" type="integer" min="0" label="Output at maximum N alignments for each read, 0 means no maximum" value="0" optional="true"/> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
66 </section> |
0
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
67 </inputs> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
68 <outputs> |
2
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
69 <data name="bam" format="bam" from_work_dir="out.aligned.bam" label="${tool.name} on ${on_string} (BAM file)"/> |
0
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
70 </outputs> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
71 <tests> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
72 <!-- test1: basic test --> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
73 <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
|
74 <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
|
75 <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
|
76 <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
|
77 <output name="bam"> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
78 <assert_contents> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
79 <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
|
80 </assert_contents> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
81 </output> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
82 </test> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
83 <!-- 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
|
84 <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
|
85 <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
|
86 <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
|
87 <param name="reads" value="out.aligned_subreads.bam"/> |
2
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
88 <param name="preset" value="SUBREAD"/> |
0
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
89 <output name="bam"> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
90 <assert_contents> |
2
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
91 <has_size value="538329" delta="50000" /> |
0
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
92 </assert_contents> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
93 </output> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
94 </test> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
95 <!-- test3: cached genome --> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
96 <test> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
97 <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
|
98 <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
|
99 <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
|
100 <output name="bam"> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
101 <assert_contents> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
102 <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
|
103 </assert_contents> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
104 </output> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
105 </test> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
106 </tests> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
107 <help><![CDATA[ |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
108 **What it does** |
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 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
|
111 PacBio BAM out. |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
112 |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
113 -------------- |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
114 |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
115 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
|
116 `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
|
117 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
|
118 `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
|
119 |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
120 **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
|
121 **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
|
122 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
|
123 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
|
124 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
|
125 |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
126 **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
|
127 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
|
128 |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
129 ]]></help> |
2
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
130 <citations> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
131 <citation type="bibtex"> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
132 @misc{githubpbmm2, |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
133 author = {PacBio}, |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
134 year = {2023}, |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
135 title = {pbmm2}, |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
136 publisher = {GitHub}, |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
137 journal = {GitHub repository}, |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
138 url = {https://github.com/PacificBiosciences/pbmm2}, |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
139 }</citation> |
55b7b257e12f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit ea74a1d7e62c0c7f878cf0d83f3539dfbb146b64
iuc
parents:
0
diff
changeset
|
140 </citations> |
0
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
141 <expand macro="creator"/> |
29eec6c7bab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbmm2 commit b9fe99d8335825c6c23f569034354323b794127a
iuc
parents:
diff
changeset
|
142 </tool> |