annotate drop_reads_that_doNot_overlap_after_BEDtools_intersect.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_remove_nonoverlapping_reads" name="Remove reads" 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>that do not overlap with genic features for BayesASE (using awk)</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>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
8 <![CDATA[
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
9 awk -v OFS=' ' '$4 !="."' '$BEDINT' > '$BED3';
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
10 awk -v a=0 'BEGIN{print "fqName\tnumber_overlapping_rows\ttotal_number_rows"} {if($4 !=".") a++} END{print "$BEDINT.element_identifier""\t"a"\t"NR }' '$BED3' > $summary
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
11 ]]>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
12 </command>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
13 <inputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
14 <param name="BEDINT" type="data" format="tabular" label="Output from Bedtools Intersect Intervals" help="Input BED file made from loj intersection between BED files with location of unique reads and features of interest" />
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 <outputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
17 <data name="BED3" format="tabular" label="${tool.name} on ${on_string}: Multi-column BED file with overlapping reads" />
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
18 <data name="summary" format="tabular" label="${tool.name} on ${on_string}: output summary file" />
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
19 </outputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
20 <tests>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
21 <test>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
22 <param name="BEDINT" ftype="data" value="align_and_counts_test_data/bedtools_intersect_intervals_BASE_test_data.bed"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
23 <output name="BED3" ftype="data" file="align_and_counts_test_data/drop_nonintersecting_reads_for_BASE.tabular" />
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
24 </test>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
25 </tests>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
26 <help><![CDATA[
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
27 **Tool Description**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
28
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
29 The purpose of this tool is to remove reads from the input BED file that do not intersect with any genic features.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
30 The input into this tool is generated by the **BedTools Intersect Intervals** and may contain rows where a read does not intersect with any genic features. These rows contain a “.” in the ThickStart column.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
31 The resulting output BED file contains locations of unique reads that overlap with regions of genic features.
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 -----------------------------------------------------------------------------------------------
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 **Inputs**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
36 -One input dataset is required.
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 **BED File [REQUIRED]**
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 -A BED file resulting from the intersection of a SAM file in BED format and a BED file of genic features.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
41 This input BED file can be generated with the **BedTools Intersect Intervals** tool.
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 Example input BED 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 +-------------+---------+---------+---------+---------+------------+------------+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
46 | Chrom | Start | End | Name | Score | Strand |ThickStart |
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
47 +=============+=========+=========+=========+=========+============+============+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
48 | X | 2190 | 2245 | X | 1 | 2300 |l(1)G0196 |
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
49 +-------------+---------+---------+---------+---------+------------+------------+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
50 | 2R | 1502 | 1834 | 2R | 50 | 1900 | Mapmodulin |
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
51 +-------------+---------+---------+---------+---------+------------+------------+
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
52 | 2R | 1621 | 1680 | . | -1 |-1 |. |
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
53 +-------------+---------+---------+---------+---------+------------+------------+
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
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
56 **Outputs**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
57 The tool outputs a BED file containing regions of reads that overlap with locations of genic features interest.
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 Example output BED file:
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 | Chrom | Start | End | Name | Score | Strand |ThickStart |
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 | X | 2190 | 2245 | X | 1 | 2300 |l(1)G0196 |
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 | 2R | 1502 | 1834 | 2R | 50 |19000 |Mapmodulin |
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 ]]></help>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
69 <citations>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
70 <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
71 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
72 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
73 journal = {????},
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
74 year = {submitted for publication}
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
75 }</citation>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
76 </citations>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
77 </tool>