# HG changeset patch # User galaxyp # Date 1589393305 14400 # Node ID 525f201b86c151f65df1346675a890f0b0533aac # Parent 392b2dfd261dc673a96e3ef6ef5cb82111585de4 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit d008f6ea0f5c8435fb975a34cb99ea4d42c5ebd2" diff -r 392b2dfd261d -r 525f201b86c1 combine.xml --- a/combine.xml Thu Apr 23 08:04:25 2020 -0400 +++ b/combine.xml Wed May 13 14:08:25 2020 -0400 @@ -1,4 +1,4 @@ - + combine several mass spectrometry imaging datasets into one @@ -86,15 +86,15 @@ #if $infile.ext == 'imzml' #if str($processed_cond.processed_file) == "processed": - msidata_$i <- readImzML('infile_${i}', resolution=$processed_cond.accuracy, units = "$processed_cond.units", attach.only=TRUE, as="MSImageSet") - ##msidata_$i = collect(msidata_$i, as.matrix=TRUE) ##coercion to continuous + msidata_$i <- readImzML('infile_${i}', resolution=$processed_cond.accuracy, units = "$processed_cond.units", attach.only=TRUE) + msidata_$i = collect(msidata_$i, as.matrix=TRUE) ##coercion to continuous centroided(msidata_$i) = $centroids #else - msidata_$i <- readImzML('infile_${i}', attach.only=TRUE, as="MSImageSet") + msidata_$i <- readImzML('infile_${i}', attach.only=TRUE) centroided(msidata_$i) = $centroids #end if #elif $infile.ext == 'analyze75' - msidata_$i = readAnalyze('infile_${i}', attach.only=TRUE, as="MSImageSet") + msidata_$i = readAnalyze('infile_${i}', attach.only=TRUE) centroided(msidata_$i) = $centroids #else ## function to read RData files independent of filename @@ -112,6 +112,9 @@ msidata_$i\$combined_sample = NULL #end if + ## coercion into MSImageSet + msidata_$i = as(msidata_$i, "MSImageSet") + ## remove duplicated coordinates, otherwise combine will fail print(paste0(sum(duplicated(coord(msidata_$i))), " duplicated coordinates were removed from input file")) msidata_${i} <- msidata_${i}[,!duplicated(coord(msidata_${i}))] diff -r 392b2dfd261d -r 525f201b86c1 macros.xml --- a/macros.xml Thu Apr 23 08:04:25 2020 -0400 +++ b/macros.xml Wed May 13 14:08:25 2020 -0400 @@ -32,6 +32,12 @@ - - + + diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results1.imzml.txt --- a/test-data/preprocessing_results1.imzml.txt Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results1.imzml.txt Wed May 13 14:08:25 2020 -0400 @@ -1,4 +1,4 @@ imzML file: total 24 --rw-r--r-- 1 meli meli 216 Mär 24 10:39 ibd --rw-r--r-- 1 meli meli 18090 Mär 24 10:39 imzml +-rw-r--r-- 1 meli meli 216 Mai 10 17:37 ibd +-rw-r--r-- 1 meli meli 18090 Mai 10 17:37 imzml diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results1.pdf Binary file test-data/preprocessing_results1.pdf has changed diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results2.ibd Binary file test-data/preprocessing_results2.ibd has changed diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results2.imzml --- a/test-data/preprocessing_results2.imzml Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results2.imzml Wed May 13 14:08:25 2020 -0400 @@ -9,8 +9,8 @@ - - + + diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results2.imzml.txt --- a/test-data/preprocessing_results2.imzml.txt Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results2.imzml.txt Wed May 13 14:08:25 2020 -0400 @@ -1,4 +1,4 @@ imzML file: total 64 --rw-r--r-- 1 meli meli 37404 Mär 24 10:40 ibd --rw-r--r-- 1 meli meli 22796 Mär 24 10:40 imzml +-rw-r--r-- 1 meli meli 37404 Mai 10 17:38 ibd +-rw-r--r-- 1 meli meli 22796 Mai 10 17:38 imzml diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results2.pdf Binary file test-data/preprocessing_results2.pdf has changed diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results3.ibd Binary file test-data/preprocessing_results3.ibd has changed diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results3.imzml --- a/test-data/preprocessing_results3.imzml Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results3.imzml Wed May 13 14:08:25 2020 -0400 @@ -9,8 +9,8 @@ - - + + diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results3.imzml.txt --- a/test-data/preprocessing_results3.imzml.txt Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results3.imzml.txt Wed May 13 14:08:25 2020 -0400 @@ -1,4 +1,4 @@ imzML file: total 24 --rw-r--r-- 1 meli meli 960 Apr 22 15:36 ibd --rw-r--r-- 1 meli meli 18112 Apr 22 15:36 imzml +-rw-r--r-- 1 meli meli 960 Mai 10 17:39 ibd +-rw-r--r-- 1 meli meli 18112 Mai 10 17:39 imzml diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results3.pdf Binary file test-data/preprocessing_results3.pdf has changed diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results4.ibd Binary file test-data/preprocessing_results4.ibd has changed diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results4.imzml --- a/test-data/preprocessing_results4.imzml Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results4.imzml Wed May 13 14:08:25 2020 -0400 @@ -9,8 +9,8 @@ - - + + diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results4.imzml.txt --- a/test-data/preprocessing_results4.imzml.txt Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results4.imzml.txt Wed May 13 14:08:25 2020 -0400 @@ -1,4 +1,4 @@ imzML file: total 84 --rw-r--r-- 1 meli meli 63256 Mär 24 11:35 ibd --rw-r--r-- 1 meli meli 18199 Mär 24 11:35 imzml +-rw-r--r-- 1 meli meli 63256 Mai 10 17:40 ibd +-rw-r--r-- 1 meli meli 18199 Mai 10 17:40 imzml diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results4.pdf Binary file test-data/preprocessing_results4.pdf has changed diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results5.ibd Binary file test-data/preprocessing_results5.ibd has changed diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results5.imzml --- a/test-data/preprocessing_results5.imzml Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results5.imzml Wed May 13 14:08:25 2020 -0400 @@ -9,8 +9,8 @@ - - + + diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results5.imzml.txt --- a/test-data/preprocessing_results5.imzml.txt Thu Apr 23 08:04:25 2020 -0400 +++ b/test-data/preprocessing_results5.imzml.txt Wed May 13 14:08:25 2020 -0400 @@ -1,4 +1,4 @@ imzML file: total 428 --rw-r--r-- 1 meli meli 415936 Apr 19 21:07 ibd --rw-r--r-- 1 meli meli 18569 Apr 19 21:07 imzml +-rw-r--r-- 1 meli meli 415936 Mai 10 17:40 ibd +-rw-r--r-- 1 meli meli 18569 Mai 10 17:40 imzml diff -r 392b2dfd261d -r 525f201b86c1 test-data/preprocessing_results5.pdf Binary file test-data/preprocessing_results5.pdf has changed