# HG changeset patch # User iuc # Date 1767698553 0 # Node ID 6c363db8c7027deede76755193882e9e669a3757 # Parent 2275d0688bcad3ef5d3de9680b819da79b976dcd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/deseq2 commit 8f0f0f51f30cc630daebfeae8acae93e84dbd35c diff -r 2275d0688bca -r 6c363db8c702 deseq2.R --- a/deseq2.R Fri Dec 19 08:09:52 2025 +0000 +++ b/deseq2.R Tue Jan 06 11:22:33 2026 +0000 @@ -244,7 +244,8 @@ # Find matching row in sample sheet matching_row <- which(sample_sheet[[sample_id_col]] == element_id) if (length(matching_row) > 0) { - level <- sample_sheet[[factor_name]][matching_row[1]] + # Convert level to character to ensure consistent list indexing + level <- as.character(sample_sheet[[factor_name]][matching_row[1]]) if (!(level %in% names(level_to_files))) { level_to_files[[level]] <- character(0) level_order <- c(level_order, level) # Record order of first appearance diff -r 2275d0688bca -r 6c363db8c702 deseq2.xml --- a/deseq2.xml Fri Dec 19 08:09:52 2025 +0000 +++ b/deseq2.xml Tue Jan 06 11:22:33 2026 +0000 @@ -983,6 +983,44 @@ + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ + + + + + + + + + + + + +
2.11.40.8 1.40.2 - 1 + 2 22.01 diff -r 2275d0688bca -r 6c363db8c702 test-data/sample_sheet_numeric.tab --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/sample_sheet_numeric.tab Tue Jan 06 11:22:33 2026 +0000 @@ -0,0 +1,8 @@ +sample treatment replicate +GSM461179_treat_single.counts Treated 1 +GSM461180_treat_paired.counts Treated 2 +GSM461181_treat_paired.counts Treated 3 +GSM461176_untreat_single.counts Untreated 1 +GSM461177_untreat_paired.counts Untreated 2 +GSM461178_untreat_paired.counts Untreated 3 +GSM461182_untreat_single.counts Untreated 4