annotate BWASplitSAM_2output.xml @ 0:e979cb57a5d5 draft default tip

"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
author malex
date Thu, 14 Jan 2021 21:51:36 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
1 <tool id="base_BWASplitSam_2output" name="BWASplitSAM" version="21.1.13" python_template_version="3.6">
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
2 <description> creates a SAM file of uniquely mapping reads from a BWA-MEM alignment</description>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
3 <macros>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
4 <import>macros.xml</import>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
5 </macros>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
6 <expand macro="requirements"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
7 <command><![CDATA[
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
8 bwa_split_sam_seonly_2output.py
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
9 --sam=$sam
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
10 --uniq=$uniq
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
11 --summ=$summ
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
12 ]]>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
13 </command>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
14 <inputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
15 <param name="sam" type="data" format="sam" label="Select SAM file or collection of SAM files" help="Each SAM file will be subset into only uniquely mapping reads. We note that the SAM file MUST be generated using single-end mode."/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
16 </inputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
17 <outputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
18 <data name="uniq" format="sam" label="${tool.name} on ${on_string}: Uniquely Mapped Reads SAM"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
19 <data name="summ" format="tabular" label="${tool.name} on ${on_string}: Summary of Aligned Reads"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
20 </outputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
21 <tests>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
22 <test>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
23 <param name="sam" ftype="data" value="align_and_counts_test_data/bam_to_sam_BASE_test_data.sam"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
24 <output name="uniq" ftype="data" value="align_and_counts_test_data/W1118_G1_unique_sam_for_BASE.sam"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
25 <output name="summ" file="align_and_counts_test_data/W1118_G1_BWASplitSAM_summary.tabular" />
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
26 </test>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
27 </tests>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
28 <help><![CDATA[
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
29 **Tool Description**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
30
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
31 This tool subsets a SAM file based on values in the FLAG field. Flag values are used to parse the reads into categories according to how they align to the reference genome. The tool outputs a SAM file containing only uniquely mapping reads in addition to a summary TSV file containing read counts for each alignment category. Uniquely mapping reads are defined as reads that map to a single location in the genome. Category types 'mapped' and 'opposite' together define the uniquely mapping reads.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
32
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
33 The types of alignment classifications are: Mapped, Unmapped, Opposite, Ambiguous, Chimeric, and Not_primary. More details on these classifications can be found below.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
34
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
35 Input SAM files must be generated from single-end aligments. The BWASplitSAM tool works wth SAM files generated by BWA-MEM. If using a different aligner, another tool may be substituted in place of BWASplitSAM to generate a SAM file of uniquely mapping reads.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
36
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
37 **Input**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
38
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
39 (1) A SAM file generated from a **SE alignment generated using BWA-MEM**.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
40
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
41 **Output**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
42
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
43 The following output files are generated based on the SAM flag values in the starting SAM file:
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
44
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
45 (1) **Uniquely_mapped_reads.sam**: A SAM file comprised only of uniquely mapped reads.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
46
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
47 A summary TSV file file containing the number of reads falling under the following categories::
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
48 (1) **Mapped**: Reads that uniquely map on the forward strand
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
49 (2) **Unmapped**: Reads that do not align
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
50 (3) **Opposite**: Reads that uniquely map on reverse strand
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
51 (4) **Ambiguous**: Reads that align to more than one location
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
52 (5) **Chimeric**: Reads that align to distinct positions in the genome (non-linear alignments)
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
53 (6) **Not_primary**: Reads with non primary alignments (has secondary alignment(s))
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
54
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
55 Example summary output file::
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
56
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
57
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
58 +---------------+---------------------+---------------------------------------+---------------------+---------------------+----------------------+---------------------+-----------------+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
59 | Name | count_total_reads | count_mapped_read_opposite_strand | count_unmapped_read | count_mapped_read | count_ambiguous_read |count_chimeric_read | count_notprimary|
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
60 +===============+=====================+=======================================+=====================+=====================+======================+=====================+=================+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
61 | dataset_2215 |14 |5 |0 | 9 |0 |0 |0 |
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
62 +---------------+---------------------+---------------------------------------+---------------------+---------------------+----------------------+---------------------+-----------------+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
63
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
64 ]]></help>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
65 <citations>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
66 <citation type="bibtex">@ARTICLE{Miller20BASE,
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
67 author = {Brecca Miller, Alison M. Morse, Elyse Borgert, Zihao Liu, Kelsey Sinclair, Gavin Gamble, Fei Zou, Jeremy Newman, Luis Leon Novello, Fabio Marroni, Lauren M. McIntyre},
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
68 title = {Testcrosses are an efficient strategy for identifying cis regulatory variation: Bayesian analysis of allele imbalance among conditions (BASE)},
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
69 journal = {????},
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
70 year = {submitted for publication}
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
71 }</citation>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
72 </citations>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
73 </tool>