Mercurial > repos > malex > bayesase
annotate check_sam_present.xml @ 0:8b2027117ce5 draft default tip
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
author | malex |
---|---|
date | Thu, 14 Jan 2021 21:31:44 +0000 |
parents | |
children |
rev | line source |
---|---|
0
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
1 <tool id="check_sam_present" name="Verify that two input SAM files are present" version="21.1.13"> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
2 <description>verify 2 SAM files are present for every 1 FASTQ file.</description> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
3 <macros> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
4 <import>macros.xml</import> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
5 </macros> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
7 <command><![CDATA[ |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
8 check_sam_present.py |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
9 --fq=$fq.element_identifier |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
10 --alnType=$alnType |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
11 --sam1=$sam1 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
12 --sam2=$sam2 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
13 --out=$out |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
14 ]]></command> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
15 <inputs> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
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."> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
17 <option value="SE" selected="true">Single End</option> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
18 <option value="PE" selected="true">Paired End</option> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
19 </param> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
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."/> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
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. "/> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
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." /> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
23 </inputs> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
24 <outputs> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
25 <data name="out" format="tabular" label="${tool.name} on ${on_string}:Check for 2 SAM Files"/> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
26 </outputs> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
27 <tests> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
28 <test> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
29 <param name="fq" ftype="data" value="align_and_counts_test_data/W55_M_1_1.fastq"/> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
30 <param name="alnType" ftype="select" value="SE"/> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
31 <param name="sam1" ftype="data" value="align_and_counts_test_data/W1118_G1_unique_sam_for_BASE.sam"/> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
32 <param name="sam2" ftype="data" value="align_and_counts_test_data/W55_G2_unique_sam_for_BASE.sam"/> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
33 <output name="out" file="align_and_counts_test_data/check_SAM_present_BASE_test_data.tabular" /> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
34 </test> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
35 </tests> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
36 <help><![CDATA[ |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
37 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
38 **Tool Description** |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
39 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
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). |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
41 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
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 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
43 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
44 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
45 **Inputs** |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
46 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
47 **FASTQ File [Required]** |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
48 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
49 The FASTQ file used to generate the SAM files |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
50 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
51 **Alignment Type [Required]** |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
52 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
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. |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
54 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
55 **2 Unique SAM files [Required]** |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
56 -Two SAM files containing uniquely mapping reads. These can be created by the *BWASplitSAM Tool*. |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
57 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
58 (1) The unique SAM file generated by alignments to updated genome1 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
59 (2) The unique SAM file generated by alignments to updated genome2 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
60 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
61 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
62 **Output** |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
63 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
64 (1) A single TSV file containing information on whether 2 SAM files are present per FASTQ file or not. |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
65 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
66 Example of output: |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
67 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
68 +-------------------+--------------------------+ |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
69 | fqName | message | |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
70 +===================+==========================+ |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
71 |dataset_1795.dat | Have 2 SAM files - good! | |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
72 +-------------------+--------------------------+ |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
73 |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
74 ]]></help> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
75 <citations> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
76 <citation type="bibtex">@ARTICLE{Miller20BASE, |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
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}, |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
78 title = {Testcrosses are an efficient strategy for identifying cis regulatory variation: Bayesian analysis of allele imbalance among conditions (BASE)}, |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
79 journal = {????}, |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
80 year = {submitted for publication} |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
81 }</citation> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
82 </citations> |
8b2027117ce5
"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit b0be4c13808f3b2973aad4df5bfe87c6f41a3359"
malex
parents:
diff
changeset
|
83 </tool> |