annotate nugen_nudup.xml @ 4:0d24a02c555f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
author iuc
date Fri, 15 Mar 2024 12:40:38 +0000
parents 2bad02c1cb0d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
2bad02c1cb0d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit cf966c727fe2c71178e317a8913c1c1d80ce5869
iuc
parents: 2
diff changeset
1 <tool id="nugen_nudup" name="NuDUP" version="2.3.3" profile="17.01">
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
2 <description>
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
3 mark/remove PCR duplicates based on molecular tags
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
4 </description>
4
0d24a02c555f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
iuc
parents: 3
diff changeset
5 <xrefs>
0d24a02c555f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
iuc
parents: 3
diff changeset
6 <xref type="bio.tools">nudup</xref>
0d24a02c555f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
iuc
parents: 3
diff changeset
7 </xrefs>
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
8 <requirements>
3
2bad02c1cb0d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit cf966c727fe2c71178e317a8913c1c1d80ce5869
iuc
parents: 2
diff changeset
9 <requirement type="package" version="2.3.3">nudup</requirement>
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
10 </requirements>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
11 <stdio>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
12 <exit_code range="1:" />
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
13 </stdio>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
14 <version_command>nudup.py --version</version_command>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
15 <command><![CDATA[
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
16 ln -f -s '$input' 'input.bam' &&
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
17 ln -f -s '$input.metadata.bam_index' 'input.bai' &&
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
18 mkdir 'tmp' &&
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
19 #if $umi_fastq.is_of_type('fastq.gz','fastqsanger.gz'):
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
20 #set umi_file = 'umi.fastq.gz'
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
21 #else:
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
22 #set umi_file = 'umi.fastq'
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
23 #end if
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
24 ln -f -s '$umi_fastq' '$umi_file' &&
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
25 nudup.py
2
57a00c4e43ec planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit c3b2bf5ee64db2e334711d6f012190f9f7b4ea28
iuc
parents: 1
diff changeset
26 -T 'tmp'
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
27 $paired_end
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
28 -f '$umi_file'
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
29 --start $start
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
30 --length $length
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
31 $rmdup_only
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
32 'input.bam'
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
33 ]]>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
34 </command>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
35 <inputs>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
36 <param type="data" name="input" label="Input SAM/BAM file"
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
37 format="sam,bam" help="Input SAM/BAM containing only unique
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
38 alignments" />
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
39 <param type="data" name="umi_fastq"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
40 label="Fastq file containing molecular tag sequence"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
41 format="fastq,fastq.gz,fastqsanger,fastqsanger.gz" help="FASTQ
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
42 file containing the molecular tag sequence for each read name in
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
43 the corresponding SAM/BAM file" />
4
0d24a02c555f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
iuc
parents: 3
diff changeset
44 <param type="boolean" argument="--paired-end" label="Paired-end deduping"
0d24a02c555f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
iuc
parents: 3
diff changeset
45 truevalue="--paired-end" falsevalue="" checked="false"
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
46 help="use paired end deduping with template. SAM/BAM alignment
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
47 must contain paired end reads. Degenerate read pairs
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
48 (alignments for one read of pair) will be discarded." />
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
49 <param type="integer" argument="--start" label="Tag sequence start
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
50 position from 3' end" value="6" help="position in index read where
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
51 molecular tag sequence begins. This should be a 1-based value that
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
52 counts in from the 3' END of the read." />
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
53 <param type="integer" argument="--length" label="Tag sequence length"
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
54 value="6" help="length of molecular tag sequence" />
4
0d24a02c555f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
iuc
parents: 3
diff changeset
55 <param type="boolean" argument="--rmdup-only"
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
56 label="Only output BAM with duplicates removed"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
57 truevalue="--rmdup-only" falsevalue="" checked="false"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
58 help="Do not ouput BAM with duplicates marked. Default is to ouput
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
59 both marked duplicates and removed duplicates BAM files." />
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
60 </inputs>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
61 <outputs>
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
62 <data format="bam" name="markdup" metadata_source="input"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
63 label="${tool.name} on ${on_string}: MarkDup"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
64 from_work_dir="prefix.sorted.markdup.bam">
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
65 <filter>not rmdup_only</filter>
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
66 </data>
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
67 <data format="bam" name="dedup" metadata_source="input"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
68 label="${tool.name} on ${on_string}: DeDup"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
69 from_work_dir="prefix.sorted.dedup.bam" />
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
70 <data format="txt" name="log"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
71 label="${tool.name} on ${on_string}: Log"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
72 from_work_dir="prefix_dup_log.txt" />
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
73 </outputs>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
74 <tests>
4
0d24a02c555f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
iuc
parents: 3
diff changeset
75 <test expect_num_outputs="3">
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
76 <param name="input" value="nudup_test_1.bam" ftype="bam" />
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
77 <param name="umi_fastq" value="nudup_umis.fastq"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
78 ftype="fastqsanger" />
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
79 <param name="start" value="8" />
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
80 <param name="length" value="8" />
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
81 <output name="markdup" file="nudup_markdup_1.bam" ftype="bam" />
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
82 <output name="dedup" file="nudup_dedup_1.bam" ftype="bam" />
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
83 <output name="log" file="nudup_log_1.txt" ftype="txt" />
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
84 </test>
4
0d24a02c555f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 26045b518c15c3f18996f6dc2af7064a9c1941dd
iuc
parents: 3
diff changeset
85 <test expect_num_outputs="3">
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
86 <param name="input" value="nudup_test_1.bam" ftype="bam" />
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
87 <param name="umi_fastq" value="nudup_umis.fastq.gz"
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
88 ftype="fastqsanger.gz" />
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
89 <param name="start" value="8" />
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
90 <param name="length" value="8" />
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
91 <output name="markdup" file="nudup_markdup_1.bam" ftype="bam" />
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
92 <output name="dedup" file="nudup_dedup_1.bam" ftype="bam" />
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
93 <output name="log" file="nudup_log_1.txt" ftype="txt" />
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
94 </test>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
95 </tests>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
96 <help><![CDATA[
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
97 Marks/removes PCR introduced duplicate molecules based on the molecular tagging
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
98 technology used in NuGEN products.
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
99
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
100 For SINGLE END reads, duplicates are marked if they fulfill the following
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
101 criteria: a) start at the same genomic coordinate b) have the same strand
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
102 orientation c) have the same molecular tag sequence. The read with the
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
103 highest mapping quality is kept as the non-duplicate read.
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
104
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
105 For PAIRED END reads, duplicates are marked if they fulfill the following
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
106 criteria: a) start at the same genomic coordinate b) have the same template
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
107 length c) have the same molecular tag sequence. The read pair with the highest
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
108 mapping quality is kept as the non-duplicate read.
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
109
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
110 Author: Anand Patel
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
111
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
112 Contact: NuGEN Technologies Inc., techserv@nugen.com
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
113
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
114 ::
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
115
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
116 Input:
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
117 IN.sam|IN.bam input sorted/unsorted SAM/BAM containing only unique
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
118 alignments (sorted required for case 2 detailed above)
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
119
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
120 Options:
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
121 -2, --paired-end use paired end deduping with template. SAM/BAM
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
122 alignment must contain paired end reads. Degenerate
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
123 read pairs (alignments for one read of pair) will be
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
124 discarded.
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
125 -f INDEX.fq|READ.fq FASTQ file containing the molecular tag sequence for
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
126 each read name in the corresponding SAM/BAM file
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
127 (required only for CASE 1 detailed above)
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
128 -o OUT_PREFIX, --out OUT_PREFIX
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
129 prefix of output file paths for sorted BAMs (default
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
130 will create prefix.sorted.markdup.bam,
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
131 prefix.sorted.dedup.bam, prefix_dup_log.txt)
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
132 -s START, --start START
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
133 position in index read where molecular tag sequence
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
134 begins. This should be a 1-based value that counts in
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
135 from the 3' END of the read. (default = 6)
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
136 -l LENGTH, --length LENGTH
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
137 length of molecular tag sequence (default = 6)
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
138 -T TEMP_DIR directory for reading and writing to temporary files
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
139 and named pipes (default: /tmp)
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
140 --old-samtools required for compatibility with samtools sort style in
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
141 samtools versions <=0.1.19
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
142 --rmdup-only required for only outputting duplicates removed file
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
143 -v, --version show program's version number and exit
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
144 -h, --help show this help message and exit
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
145 ]]></help>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
146 <citations>
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
147 <citation type="bibtex">@misc{Patel2017,
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
148 author = {Patel, Anand},
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
149 title = {NuDUP},
2
57a00c4e43ec planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit c3b2bf5ee64db2e334711d6f012190f9f7b4ea28
iuc
parents: 1
diff changeset
150 version = {2.3.2},
1
24693e595caf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents: 0
diff changeset
151 year = {2017},
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
152 publisher = {GitHub},
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
153 journal = {GitHub repository},
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
154 howpublished = {\url{https://github.com/nugentechnologies/nudup}},
2
57a00c4e43ec planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit c3b2bf5ee64db2e334711d6f012190f9f7b4ea28
iuc
parents: 1
diff changeset
155 commit = {7a126eb5a4ccc2bacb426c7cf58b351962798093}
0
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
156 }
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
157 </citation>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
158 </citations>
0ad51e73587e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff changeset
159 </tool>