# HG changeset patch
# User iuc
# Date 1698063031 0
# Node ID 042cab870a39000e58d412ed3d9cda8a5616a70a
# Parent 6d4c94373bbae1f2383d10d5bbc90803aae4f0fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ribowaltz commit 416063685092b818a398e00d5027f7fe742230f1
diff -r 6d4c94373bba -r 042cab870a39 macros.xml
--- a/macros.xml Thu Sep 22 20:30:54 2022 +0000
+++ b/macros.xml Mon Oct 23 12:10:31 2023 +0000
@@ -6,6 +6,7 @@
1.2.0
+ 0
21.05
diff -r 6d4c94373bba -r 042cab870a39 ribowaltz.R
--- a/ribowaltz.R Thu Sep 22 20:30:54 2022 +0000
+++ b/ribowaltz.R Mon Oct 23 12:10:31 2023 +0000
@@ -21,6 +21,7 @@
"cds_coverage_info", "Z", 1, "character",
"psite_info_rdata", "O", 0, "character",
"refseq_sep", "s", 0, "character",
+ "indel_threshold", "t", 0, "integer",
"params_duplicate_filterting", "d", 0, "character",
"params_peridiocity_filterting", "l", 0, "character",
"params_custom_filterting", "c", 0, "character",
@@ -48,7 +49,7 @@
sep <- NULL
}
# convert alignments in BAM files into list of data tables
-reads_list <- bamtolist(bamfolder = opt$bamdir, annotation = annotation_dt, refseq_sep = sep)
+reads_list <- bamtolist(bamfolder = opt$bamdir, annotation = annotation_dt, refseq_sep = sep, indel_threshold = opt$indel_threshold)
library("jsonlite")
# remove duplicate reads
@@ -63,21 +64,21 @@
# selection of read lengths - periodicity filtering
if (!is.null(opt$params_peridiocity_filterting)) {
- json_peridiocity_filterting <- fromJSON(opt$params_peridiocity_filterting)
- reads_list <- length_filter(
- data = reads_list,
- length_filter_mode = "periodicity",
- periodicity_threshold = json_peridiocity_filterting$periodicity_threshold
- )
+ json_peridiocity_filterting <- fromJSON(opt$params_peridiocity_filterting)
+ reads_list <- length_filter(
+ data = reads_list,
+ length_filter_mode = "periodicity",
+ periodicity_threshold = json_peridiocity_filterting$periodicity_threshold
+ )
}
# selection of read lengths - length range filtering
if (!is.null(opt$params_custom_filterting)) {
- json_custom_filterting <- fromJSON(opt$params_custom_filterting)
- reads_list <- length_filter(
- data = reads_list,
- length_filter_mode = "custom",
- length_range = json_custom_filterting$length_range
- )
+ json_custom_filterting <- fromJSON(opt$params_custom_filterting)
+ reads_list <- length_filter(
+ data = reads_list,
+ length_filter_mode = "custom",
+ length_range = json_custom_filterting$length_range
+ )
}
# compute P-site offset
diff -r 6d4c94373bba -r 042cab870a39 ribowaltz.xml
--- a/ribowaltz.xml Thu Sep 22 20:30:54 2022 +0000
+++ b/ribowaltz.xml Mon Oct 23 12:10:31 2023 +0000
@@ -1,16 +1,16 @@
-
+
calculation of optimal P-site offsets and diagnostic analysis
macros.xml
-
+
+
@@ -198,6 +200,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+