Mercurial > repos > bgruening > hicexplorer_hicquickqc
comparison hicQuickQC.xml @ 2:909125ec301f draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 4b602d427e0fc0da5353a4510798349de98e4ae4"
author | iuc |
---|---|
date | Wed, 11 Mar 2020 17:01:31 -0400 |
parents | b599d3000966 |
children | 9c5078f3926b |
comparison
equal
deleted
inserted
replaced
1:b599d3000966 | 2:909125ec301f |
---|---|
4 <token name="@BINARY@">hicQuickQC</token> | 4 <token name="@BINARY@">hicQuickQC</token> |
5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
6 </macros> | 6 </macros> |
7 <expand macro="requirements" /> | 7 <expand macro="requirements" /> |
8 <command detect_errors="exit_code"><![CDATA[ | 8 <command detect_errors="exit_code"><![CDATA[ |
9 | 9 |
10 mkdir ./QCfolder && | 10 mkdir ./QCfolder && |
11 mkdir $qc.files_path && | 11 mkdir $qc.files_path && |
12 @BINARY@ | 12 @BINARY@ |
13 | 13 |
14 --samFiles | 14 --samFiles |
17 #end for | 17 #end for |
18 | 18 |
19 #if $restrictionSequence: | 19 #if $restrictionSequence: |
20 --restrictionSequence '$restrictionSequence' | 20 --restrictionSequence '$restrictionSequence' |
21 #end if | 21 #end if |
22 | 22 |
23 #if $danglingSequence: | 23 #if $danglingSequence: |
24 --danglingSequence '$danglingSequence' | 24 --danglingSequence '$danglingSequence' |
25 #end if | 25 #end if |
26 --QCfolder ./QCfolder | 26 --QCfolder ./QCfolder |
27 | 27 |
30 && mv ./QCfolder/* $qc.files_path/ | 30 && mv ./QCfolder/* $qc.files_path/ |
31 && mv $qc.files_path/hicQC.html $qc | 31 && mv $qc.files_path/hicQC.html $qc |
32 && mv $qc.files_path/*.log raw_qc | 32 && mv $qc.files_path/*.log raw_qc |
33 ]]></command> | 33 ]]></command> |
34 <inputs> | 34 <inputs> |
35 <repeat max="2" min="2" name="samFiles" title="Sam/Bam files to process (forward/reverse)" | 35 <repeat max="2" min="2" name="samFiles" title="Sam/Bam files to process (forward/reverse)" |
36 help="Please use the special BAM datatype: qname_input_sorted.bam and use for 'bowtie2' the '--reorder' option to create a BAM file."> | 36 help="Please use the special BAM datatype: qname_input_sorted.bam and use for 'bowtie2' the '--reorder' option to create a BAM file."> |
37 <param name="samFile" type="data" format="sam,qname_input_sorted.bam"/> | 37 <param name="samFile" type="data" format="sam,qname_input_sorted.bam"/> |
38 </repeat> | 38 </repeat> |
39 | 39 |
40 <param argument="--restrictionSequence" type="text" optional="true" label="Sequence of the restriction site" | 40 <param argument="--restrictionSequence" type="text" optional="true" label="Sequence of the restriction site" |
41 help="This is used to discard reads that end/start with such sequence and that are considered un-ligated fragments or | 41 help="This is used to discard reads that end/start with such sequence and that are considered un-ligated fragments or |
42 "dangling-ends". If not given, such statistics will not be available." /> | 42 "dangling-ends". If not given, such statistics will not be available." /> |
43 | 43 |
44 <param argument="--danglingSequence" type="text" optional="true" label="Dangling sequence" | 44 <param argument="--danglingSequence" type="text" optional="true" label="Dangling sequence" |
45 help="Sequence left by the restriction enzyme after cutting. | 45 help="Sequence left by the restriction enzyme after cutting. |
46 Each restriction enzyme recognizes a different DNA sequence and, | 46 Each restriction enzyme recognizes a different DNA sequence and, |
47 after cutting, they leave behind a specific ‘sticky’ end or dangling end sequence. | 47 after cutting, they leave behind a specific ‘sticky’ end or dangling end sequence. |
48 For example, for HindIII the restriction site is AAGCTT and the dangling end is AGCT. | 48 For example, for HindIII the restriction site is AAGCTT and the dangling end is AGCT. |
49 For DpnII, the restriction site and dangling end sequence are the same: GATC. | 49 For DpnII, the restriction site and dangling end sequence are the same: GATC. |
50 This information is easily found on the description of the restriction enzyme. | 50 This information is easily found on the description of the restriction enzyme. |
51 The dangling sequence is used to classify and report reads whose 5’ end starts with such sequence as dangling-end reads. | 51 The dangling sequence is used to classify and report reads whose 5’ end starts with such sequence as dangling-end reads. |
52 A significant portion of dangling-end reads in a sample are indicative of a problem with the re-ligation step of the protocol. "/> | 52 A significant portion of dangling-end reads in a sample are indicative of a problem with the re-ligation step of the protocol. "/> |
53 | 53 |
54 <param argument="--lines" optional='true' type="integer" label="Lines" help= "Number of lines to consider for the qc test run." value='1000000'/> | 54 <param argument="--lines" optional='true' type="integer" label="Lines" help= "Number of lines to consider for the qc test run." value='1000000'/> |
55 | 55 |
56 </inputs> | 56 </inputs> |
57 <outputs> | 57 <outputs> |
58 <data name="qc" format="html" label="${tool.name} QC on ${on_string}"/> | 58 <data name="qc" format="html" label="${tool.name} QC on ${on_string}"/> |
59 <data name="raw_qc" from_work_dir='raw_qc' format='txt' label="${tool.name} raw QC on ${on_string}" /> | 59 <data name="raw_qc" from_work_dir='raw_qc' format='txt' label="${tool.name} raw QC on ${on_string}" /> |
60 </outputs> | 60 </outputs> |
76 <output name="raw_qc" file='hicQuickQC/QC.log' compare='diff' lines_diff='2'/> | 76 <output name="raw_qc" file='hicQuickQC/QC.log' compare='diff' lines_diff='2'/> |
77 </test> | 77 </test> |
78 </tests> | 78 </tests> |
79 <help><![CDATA[ | 79 <help><![CDATA[ |
80 | 80 |
81 Quick QC | 81 Quick QC |
82 ==================== | 82 ==================== |
83 | 83 |
84 Get a quick impression on the quality of your Hi-C data. The first | 84 Get a quick impression on the quality of your Hi-C data. hicQuickQC considers the first n lines of two bam/sam files to get a first estimate of the quality of the data. It is highly recommended to set the restriction enzyme and dangling end parameter to get a good quality report. |
85 | |
86 The default is to read the first 1,000,000 reads of the mapped bam files to get a quality estimate of the Hi-C data. | |
85 | 87 |
86 For more information about HiCExplorer please consider our documentation on readthedocs.io_ | 88 For more information about HiCExplorer please consider our documentation on readthedocs.io_ |
87 | 89 |
88 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html | 90 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html |
89 ]]></help> | 91 ]]></help> |