annotate check_sam_present.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="check_sam_present" name="Verify that two input SAM files are present" version="21.1.13">
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
2 <description>verify 2 SAM files are present for every 1 FASTQ file.</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 check_sam_present.py
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
9 --fq=$fq.element_identifier
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
10 --alnType=$alnType
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
11 --sam1=$sam1
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
12 --sam2=$sam2
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
13 --out=$out
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
14 ]]></command>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
15 <inputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
16 <param name="alnType" size="30" type="select" value="" display="radio" label="Align Type" help="For BayesASE without modification, select Single End. Select whether SAM files were created from single end or paired end alignments.">
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
17 <option value="SE" selected="true">Single End</option>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
18 <option value="PE" selected="true">Paired End</option>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
19 </param>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
20 <param name="sam1" type="data" format="sam" label="Unique SAM for G1" help="Select the SAM file [from BWASplitSAM] for updated genome1 containing only uniquely mapped reads."/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
21 <param name="sam2" type="data" format="sam" label="Unique SAM for G2" help="Select the SAM file [from BWASplitSAM] for updated genome2 containing uniquely mapped reads. "/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
22 <param name="fq" type="data" format="fastq" label="FastQ file" help="Select the FastQ file used to generate the SAM files." />
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
23 </inputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
24 <outputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
25 <data name="out" format="tabular" label="${tool.name} on ${on_string}:Check for 2 SAM Files"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
26 </outputs>
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 <test>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
29 <param name="fq" ftype="data" value="align_and_counts_test_data/W55_M_1_1.fastq"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
30 <param name="alnType" ftype="select" value="SE"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
31 <param name="sam1" 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
32 <param name="sam2" ftype="data" value="align_and_counts_test_data/W55_G2_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
33 <output name="out" file="align_and_counts_test_data/check_SAM_present_BASE_test_data.tabular" />
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
34 </test>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
35 </tests>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
36 <help><![CDATA[
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
37
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
38 **Tool Description**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
39
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
40 This tool checks to make sure that **2 SAM files** were generated from **1 FASTQ file** (one for each updated parental genome).
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
41
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
42 **NOTE:** If you are running the BayesASE Align and Count workflow without modification, all reads are aligned as Single End - select Single End
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
43
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 **Inputs**
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 **FASTQ File [Required]**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
48
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
49 The FASTQ file used to generate the SAM files
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
50
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
51 **Alignment Type [Required]**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
52
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
53 Select from drop-down menu how the FASTQ file was aligned - this will be SE if running the BayesASE workflow.
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 **2 Unique SAM files [Required]**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
56 -Two SAM files containing uniquely mapping reads. These can be created by the *BWASplitSAM Tool*.
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 (1) The unique SAM file generated by alignments to updated genome1
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
59 (2) The unique SAM file generated by alignments to updated genome2
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
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
62 **Output**
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 (1) A single TSV file containing information on whether 2 SAM files are present per FASTQ file or not.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
65
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
66 Example of output:
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
67
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
68 +-------------------+--------------------------+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
69 | fqName | message |
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
70 +===================+==========================+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
71 |dataset_1795.dat | Have 2 SAM files - good! |
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
72 +-------------------+--------------------------+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
73
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
74 ]]></help>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
75 <citations>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
76 <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
77 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
78 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
79 journal = {????},
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
80 year = {submitted for publication}
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
81 }</citation>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
82 </citations>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
83 </tool>