Closed GraceAHall closed 7 months ago
Hi, Grace, Thanks for the information. The data set is acquired via a TOF/TOF system, which gives a mid-resolution (~15000 to 30000) m/z signal. In this condition, I will recommend you to use the >25 ppm tolerance which will trigger the mid-resolution data pre-processing workflow. The HiTMaP is mainly designed for high (or ultra-high) resolution MS data annotation. The mid-resolution data pre-processing workflow is implemented with the aim of rendering the protein image on these datasets with existing annotation results. https://github.com/MASHUOA/HiTMaP/blob/master/Resource/DB_stats_bin_mz_ppm.png . But you could still give it a go.
Hi, Grace, I found it's mz range upper boundary cause this error. You need to update the hitmap via installation code (for unknown reason Cardinal package won't read the data according to a given mz.range) and set "mzrange = c(1220,1624)" in the argument. here's an example code:
datafile=c("mouse_kidney_cut.imzML") wd="~/expdata/kindney/" library(HiTMaP) imaging_identification(datafile=paste0(wd,datafile),Digestion_site="trypsin",threshold = 0, Fastadatabase="uniprot_mouse_20210107.fasta",output_candidatelist=T, preprocess=list(force_preprocess=T, use_preprocessRDS=TRUE, smoothSignal=list(method="gaussian"), reduceBaseline=list(method="locmin"), peakPick=list(method="adaptive"), peakAlign=list(tolerance=25,level="global", units="ppm"), normalize=list(method="rms")), spectra_segments_per_file=5,use_previous_candidates=T,ppm=25,FDR_cutoff = 0.05,IMS_analysis=T,Thread=1, Rotate_IMG=NULL,cluster_rds_path="/combinedimdata.rds", mzrange = c(1220,1624),plot_cluster_image_grid=T,pixel_size_um = 150,remove_score_outlier=F,attach_summary_cluster = F, remove_cluster_from_grid=F,plot_cluster_image_overwrite=T)
Thanks for the solution and the quick reply!
I ran HiTMaP with the settings above, but still same error.
We have chosen to use the docker container for running hitmap as this works smoothly on the galaxy service. Is there an updated container we can use which contains the fix?
Grace
Hi team
Encountered another error. Not sure how to go about this. I am using this imzml with the uniprot_mouse.fasta proteome