# HG changeset patch
# User galaxy-australia
# Date 1647569452 0
# Node ID f159c3da2ffcca9ef091ed8f15149f0c66cf1114
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/pbccs commit 5ba0af2de1e1ce7b7a8ed3eb4042f5fec366c234"
diff -r 000000000000 -r f159c3da2ffc README.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/README.md Fri Mar 18 02:10:52 2022 +0000
@@ -0,0 +1,7 @@
+ccs combines multiple subreads of the same SMRTbell molecule using a statistical model to produce one highly accurate consensus sequence, also called a HiFi read, along with base quality values. This tool powers the Circular Consensus Sequencing workflow in SMRT Link.
+
+To process the old version of bam generated by the RSII chemistry of PacBio. This Galaxy wrapper is using ccs version 3.4.1.
+
+The latest version of ccs (pbccs) is 6.2.0 and can be found on [conda](https://anaconda.org/bioconda/pbccs)
+
+See [doc](https://ccs.how/) for more details.
diff -r 000000000000 -r f159c3da2ffc macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml Fri Mar 18 02:10:52 2022 +0000
@@ -0,0 +1,29 @@
+
+
+ 3.4.1
+
+
+ pbccs
+
+
+
+ @HEADLESS@ ccs --version
+
+
+
+
+**Generate Highly Accurate Single-Molecule Consensus Reads (CCS) Overview**
+
+CCS combines multiple subreads of the same SMRTbell molecule using a statistical model to produce one highly accurate consensus sequence, also called a HiFi read, along with base quality values. This tool powers the Circular Consensus Sequencing workflow in SMRT Link.
+
+
+CCS works with PacBio subreads bam (subreads.bam) files. For more information about this file format, see here_
+
+.. _here: https://ccs.how/how-does-ccs-work.html
+
+
+
+ 10.1016/j.gpb.2015.08.002
+
+
+
diff -r 000000000000 -r f159c3da2ffc pbccs.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pbccs.xml Fri Mar 18 02:10:52 2022 +0000
@@ -0,0 +1,143 @@
+
+ Generate accurate consensus sequences from subreads
+
+ macros.xml
+
+
+
+ &1
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ if_log['log_options'] == 'yes'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r f159c3da2ffc test-data/input.subreads.bam
Binary file test-data/input.subreads.bam has changed
diff -r 000000000000 -r f159c3da2ffc test-data/log.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/log.txt Fri Mar 18 02:10:52 2022 +0000
@@ -0,0 +1,14 @@
+ZMW Yield
+Success (without retry) -- CCS generated,2,100.00%
+Success (with retry) -- CCS generated,0,0.00%
+Failed -- Below SNR threshold,0,0.00%
+Failed -- No usable subreads,0,0.00%
+Failed -- Insert size too long,0,0.00%
+Failed -- Insert size too small,0,0.00%
+Failed -- Not enough full passes,0,0.00%
+Failed -- Too many unusable subreads,0,0.00%
+Failed -- CCS did not converge,0,0.00%
+Failed -- CCS below minimum predicted accuracy,0,0.00%
+Failed -- Unknown error during processing,0,0.00%
+
+
diff -r 000000000000 -r f159c3da2ffc test-data/output.bam
Binary file test-data/output.bam has changed
diff -r 000000000000 -r f159c3da2ffc test-data/report.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/report.txt Fri Mar 18 02:10:52 2022 +0000
@@ -0,0 +1,14 @@
+ZMW Yield
+Success (without retry) -- CCS generated,2,100.00%
+Success (with retry) -- CCS generated,0,0.00%
+Failed -- Below SNR threshold,0,0.00%
+Failed -- No usable subreads,0,0.00%
+Failed -- Insert size too long,0,0.00%
+Failed -- Insert size too small,0,0.00%
+Failed -- Not enough full passes,0,0.00%
+Failed -- Too many unusable subreads,0,0.00%
+Failed -- CCS did not converge,0,0.00%
+Failed -- CCS below minimum predicted accuracy,0,0.00%
+Failed -- Unknown error during processing,0,0.00%
+
+