Mercurial > repos > malex > bayesase
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e979cb57a5d5 |
---|---|
1 <tool id="base_BWASplitSam_2output" name="BWASplitSAM" version="21.1.13" python_template_version="3.6"> | |
2 <description> creates a SAM file of uniquely mapping reads from a BWA-MEM alignment</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <command><![CDATA[ | |
8 bwa_split_sam_seonly_2output.py | |
9 --sam=$sam | |
10 --uniq=$uniq | |
11 --summ=$summ | |
12 ]]> | |
13 </command> | |
14 <inputs> | |
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."/> | |
16 </inputs> | |
17 <outputs> | |
18 <data name="uniq" format="sam" label="${tool.name} on ${on_string}: Uniquely Mapped Reads SAM"/> | |
19 <data name="summ" format="tabular" label="${tool.name} on ${on_string}: Summary of Aligned Reads"/> | |
20 </outputs> | |
21 <tests> | |
22 <test> | |
23 <param name="sam" ftype="data" value="align_and_counts_test_data/bam_to_sam_BASE_test_data.sam"/> | |
24 <output name="uniq" ftype="data" value="align_and_counts_test_data/W1118_G1_unique_sam_for_BASE.sam"/> | |
25 <output name="summ" file="align_and_counts_test_data/W1118_G1_BWASplitSAM_summary.tabular" /> | |
26 </test> | |
27 </tests> | |
28 <help><![CDATA[ | |
29 **Tool Description** | |
30 | |
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. | |
32 | |
33 The types of alignment classifications are: Mapped, Unmapped, Opposite, Ambiguous, Chimeric, and Not_primary. More details on these classifications can be found below. | |
34 | |
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. | |
36 | |
37 **Input** | |
38 | |
39 (1) A SAM file generated from a **SE alignment generated using BWA-MEM**. | |
40 | |
41 **Output** | |
42 | |
43 The following output files are generated based on the SAM flag values in the starting SAM file: | |
44 | |
45 (1) **Uniquely_mapped_reads.sam**: A SAM file comprised only of uniquely mapped reads. | |
46 | |
47 A summary TSV file file containing the number of reads falling under the following categories:: | |
48 (1) **Mapped**: Reads that uniquely map on the forward strand | |
49 (2) **Unmapped**: Reads that do not align | |
50 (3) **Opposite**: Reads that uniquely map on reverse strand | |
51 (4) **Ambiguous**: Reads that align to more than one location | |
52 (5) **Chimeric**: Reads that align to distinct positions in the genome (non-linear alignments) | |
53 (6) **Not_primary**: Reads with non primary alignments (has secondary alignment(s)) | |
54 | |
55 Example summary output file:: | |
56 | |
57 | |
58 +---------------+---------------------+---------------------------------------+---------------------+---------------------+----------------------+---------------------+-----------------+ | |
59 | Name | count_total_reads | count_mapped_read_opposite_strand | count_unmapped_read | count_mapped_read | count_ambiguous_read |count_chimeric_read | count_notprimary| | |
60 +===============+=====================+=======================================+=====================+=====================+======================+=====================+=================+ | |
61 | dataset_2215 |14 |5 |0 | 9 |0 |0 |0 | | |
62 +---------------+---------------------+---------------------------------------+---------------------+---------------------+----------------------+---------------------+-----------------+ | |
63 | |
64 ]]></help> | |
65 <citations> | |
66 <citation type="bibtex">@ARTICLE{Miller20BASE, | |
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}, | |
68 title = {Testcrosses are an efficient strategy for identifying cis regulatory variation: Bayesian analysis of allele imbalance among conditions (BASE)}, | |
69 journal = {????}, | |
70 year = {submitted for publication} | |
71 }</citation> | |
72 </citations> | |
73 </tool> |