Mercurial > repos > nick > dunovo
comparison make_families.xml @ 0:f875256c722e draft
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'd00f828e5768c5fac3e382b9d12f34bbdf9019e9\n'-dirty
author | nick |
---|---|
date | Sat, 18 Feb 2017 05:58:44 -0500 |
parents | |
children | ea832c221ec9 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f875256c722e |
---|---|
1 <?xml version="1.0"?> | |
2 <tool id="make_families" name="Du Novo: Make families" version="0.7"> | |
3 <description>of duplex sequencing reads</description> | |
4 <requirements> | |
5 <requirement type="package" version="0.7">dunovo</requirement> | |
6 </requirements> | |
7 <!-- TODO: Add dependency on coreutils to get paste? --> | |
8 <command detect_errors="exit_code">make-families.sh -t $taglen -i $invariant '$fastq1' '$fastq2' > '$output' | |
9 </command> | |
10 <inputs> | |
11 <param name="fastq1" type="data" format="fastq" label="Sequencing reads, mate 1"/> | |
12 <param name="fastq2" type="data" format="fastq" label="Sequencing reads, mate 2"/> | |
13 <param name="taglen" type="integer" value="12" min="0" label="Tag length" help="length of each random barcode on the ends of the fragments"/> | |
14 <param name="invariant" type="integer" value="5" min="0" label="Invariant sequence length" help="length of the sequence between the tag and actual sample sequence (the restriction site, normally)"/> | |
15 </inputs> | |
16 <outputs> | |
17 <data name="output" format="tabular"/> | |
18 </outputs> | |
19 <tests> | |
20 <test> | |
21 <param name="fastq1" value="smoke_1.fq"/> | |
22 <param name="fastq2" value="smoke_2.fq"/> | |
23 <param name="taglen" value="5"/> | |
24 <param name="invariant" value="1"/> | |
25 <output name="output" file="smoke.families.tsv"/> | |
26 </test> | |
27 <test> | |
28 <param name="fastq1" value="smoke_1.fq"/> | |
29 <param name="fastq2" value="smoke_2.fq"/> | |
30 <param name="taglen" value="5"/> | |
31 <param name="invariant" value="0"/> | |
32 <output name="output" file="smoke.families.i0.tsv"/> | |
33 </test> | |
34 </tests> | |
35 <citations> | |
36 <citation type="bibtex">@article{Stoler2016, | |
37 author = {Stoler, Nicholas and Arbeithuber, Barbara and Guiblet, Wilfried and Makova, Kateryna D and Nekrutenko, Anton}, | |
38 doi = {10.1186/s13059-016-1039-4}, | |
39 issn = {1474-760X}, | |
40 journal = {Genome biology}, | |
41 number = {1}, | |
42 pages = {180}, | |
43 pmid = {27566673}, | |
44 publisher = {Genome Biology}, | |
45 title = {{Streamlined analysis of duplex sequencing data with Du Novo.}}, | |
46 url = {http://www.ncbi.nlm.nih.gov/pubmed/27566673}, | |
47 volume = {17}, | |
48 year = {2016} | |
49 }</citation> | |
50 </citations> | |
51 <help> | |
52 | |
53 **What it does** | |
54 | |
55 This tool is for processing raw duplex sequencing data, removing the barcodes and grouping by them into families of reads from the same fragment. | |
56 | |
57 ----- | |
58 | |
59 **Output** | |
60 | |
61 The output will be a tabular file where each line corresponds to a pair of input reads. | |
62 | |
63 The columns are:: | |
64 | |
65 1: barcode (both tags joined and ordered) | |
66 2: tag order in barcode ("ab" or "ba") | |
67 3: read1 name | |
68 4: read1 sequence (minus the tag and invariant sequences) | |
69 5: read1 quality scores (minus the same tag and invariant) | |
70 6: read2 name | |
71 7: read2 sequence (minus the tag and invariant sequences) | |
72 8: read2 quality scores (minus the same tag and invariant) | |
73 | |
74 ----- | |
75 | |
76 **Barcode creation** | |
77 | |
78 For each pair, the tool will remove the tag at the beginning of each read and create a barcode by concatenating the two tags. The order of the tags is determined by a string comparison so that it will make an identical barcode from pairs of either order. The original tag order will be noted in the second column. | |
79 | |
80 Since pairs from opposite strands will have the same tags, but in the reverse order, this produces the same barcode for reads from the same fragment, regardless of strand. Then a simple sort will group all reads from the same strand together, separated into strands by the different "order" values. | |
81 | |
82 Examples:: | |
83 | |
84 +---------------+-----------------+ | |
85 | input tags | output | | |
86 +-------+-------+-------+---------+ | |
87 | read1 | read2 | order | barcode | | |
88 +-------+-------+-------+---------+ | |
89 | ATG | CCT | ab | ATGCCT | | |
90 +-------+-------+-------+---------+ | |
91 | CCT | ATG | ba | ATGCCT | | |
92 +-------+-------+-------+---------+ | |
93 | |
94 </help> | |
95 </tool> |