Mercurial > repos > iuc > nugen_nudup
annotate nugen_nudup.xml @ 2:57a00c4e43ec draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit c3b2bf5ee64db2e334711d6f012190f9f7b4ea28
author | iuc |
---|---|
date | Fri, 03 Mar 2017 19:35:28 -0500 |
parents | 24693e595caf |
children | 2bad02c1cb0d |
rev | line source |
---|---|
2
57a00c4e43ec
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit c3b2bf5ee64db2e334711d6f012190f9f7b4ea28
iuc
parents:
1
diff
changeset
|
1 <tool id="nugen_nudup" name="NuDUP" version="2.3.2" 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> |
0
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
5 <requirements> |
2
57a00c4e43ec
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit c3b2bf5ee64db2e334711d6f012190f9f7b4ea28
iuc
parents:
1
diff
changeset
|
6 <requirement type="package" version="2.3.2">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
|
7 </requirements> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
8 <stdio> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
9 <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
|
10 </stdio> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
11 <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
|
12 <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
|
13 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
|
14 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
|
15 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
|
16 #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
|
17 #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
|
18 #else: |
24693e595caf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents:
0
diff
changeset
|
19 #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
|
20 #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
|
21 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
|
22 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
|
23 -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
|
24 $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
|
25 -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
|
26 --start $start |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
27 --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
|
28 $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
|
29 'input.bam' |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
30 ]]> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
31 </command> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
32 <inputs> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
33 <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
|
34 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
|
35 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
|
36 <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
|
37 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
|
38 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
|
39 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
|
40 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
|
41 <param type="boolean" argument="--paired-end" |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
42 label="Paired-end deduping" name="paired_end" |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
43 truevalue="--paired-end" falsevalue="" |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
44 checked="false" |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
45 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
|
46 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
|
47 (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
|
48 <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
|
49 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
|
50 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
|
51 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
|
52 <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
|
53 value="6" help="length of molecular tag sequence" /> |
1
24693e595caf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents:
0
diff
changeset
|
54 <param type="boolean" argument="--rmdup-only" name="rmdup_only" |
24693e595caf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents:
0
diff
changeset
|
55 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
|
56 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
|
57 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
|
58 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
|
59 </inputs> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
60 <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
|
61 <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
|
62 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
|
63 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
|
64 <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
|
65 </data> |
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 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
|
67 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
|
68 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
|
69 <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
|
70 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
|
71 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
|
72 </outputs> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
73 <tests> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
74 <test> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
75 <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
|
76 <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
|
77 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
|
78 <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
|
79 <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
|
80 <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
|
81 <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
|
82 <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
|
83 </test> |
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> |
24693e595caf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 772d7fb670aaa4ad131909bf2aef5d7dd016e621
iuc
parents:
0
diff
changeset
|
85 <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
|
86 <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
|
87 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
|
88 <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
|
89 <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
|
90 <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
|
91 <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
|
92 <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
|
93 </test> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
94 </tests> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
95 <help><![CDATA[ |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
96 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
|
97 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
|
98 |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
99 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
|
100 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
|
101 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
|
102 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
|
103 |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
104 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
|
105 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
|
106 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
|
107 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
|
108 |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
109 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
|
110 |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
111 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
|
112 |
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 Input: |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
116 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
|
117 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
|
118 |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
119 Options: |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
120 -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
|
121 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
|
122 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
|
123 discarded. |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
124 -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
|
125 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
|
126 (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
|
127 -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
|
128 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
|
129 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
|
130 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
|
131 -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
|
132 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
|
133 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
|
134 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
|
135 -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
|
136 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
|
137 -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
|
138 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
|
139 --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
|
140 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
|
141 --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
|
142 -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
|
143 -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
|
144 ]]></help> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
145 <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
|
146 <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
|
147 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
|
148 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
|
149 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
|
150 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
|
151 publisher = {GitHub}, |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
152 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
|
153 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
|
154 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
|
155 } |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
156 </citation> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
157 </citations> |
0ad51e73587e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nugen_nudup commit 9f2d2e8d94050274a4eaae7fa1e48887fed657d4
iuc
parents:
diff
changeset
|
158 </tool> |