-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/refactor DIMS PeakFinding #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
… file with scanmode
fdekievit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Veel werk!
Ik heb hier en daar wat comments achter gelaten :)
fdekievit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big improvement!
Left some minor comments :)
fdekievit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Een aantal functies kan ik niet volgen omdat ik niet kan zien waar ze vandaan komen (omdat er door sources functies opeens 'bestaan') dus hier heb ik geen comments voor achter gelaten.
Er is een linter toegevoegd, maar zonder de linter warnings toe te passen voegt de linter nu nog niks toe. In de python repo's is volgens mij besloten om error on warning op true te zetten waardoor je geforceerd wordt om deze warnings aan te pakken (anders voegt het natuurlijk nog niet zoveel toe). De linter geeft nu > 500 warnings.
Als laatste wordt er soms over dataframes gelooped zonder te weten of ze gevuld zijn. Als dit geen probleem is, laat dit dan a.u.b. zien door een unittest te runnen op een leeg object b.v.
|
Hai Frank,
Je hebt gelijk denk ik, dit is iets dat we in het vervolg als we meerdere stappen gaan samenvoegen en het datamodel aanpassen niet meer nodig zullen hebben, dus ik zal het nu zo laten, maar in het achterhoofd houden wat er allemaal fout zou kunnen gaan.
Groetjes,
Mia.
From: fdekievit ***@***.***>
Date: Monday, 22 December 2025 at 16:08
To: UMCUGenetics/CustomModules ***@***.***>
Cc: Pras-Raves-2, M.L. (Mia) ***@***.***>, Author ***@***.***>
Subject: Re: [UMCUGenetics/CustomModules] Feature/refactor DIMS PeakFinding (PR #76)
@fdekievit commented on this pull request.
________________________________
In DIMS/AveragePeaks.R<#76 (comment)>:
@@ -0,0 +1,37 @@
+library(dplyr)
+
+# define parameters
+cmd_args <- commandArgs(trailingOnly = TRUE)
+
+sample_name <- cmd_args[1]
+techreps <- cmd_args[2]
+scanmode <- cmd_args[3]
+preprocessing_scripts_dir <- cmd_args[4]
+tech_reps <- strsplit(techreps, ";")[[1]]
maar daarom kan het toch geen kwaad om het toch in een try-catch te zetten? je gaat er vanuit dat het niet voor kan komen (gelukkig maar), maar puur technisch gezien kan de code prima kapot (als je het verkeerd aanroept) en dus is defensief programmeren hier best justified in mijn ogen. Maargoed, ik laat t varen...
—
Reply to this email directly, view it on GitHub<#76 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A32BYK5TIDNCV4L2F5GWVS34DACOVAVCNFSM6AAAAACBKEH6L6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTMMBUGQZTMNBUGA>.
You are receiving this because you authored the thread.
…________________________________
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Het Universitair Medisch Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W. (Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.
Denk s.v.p aan het milieu voor u deze e-mail afdrukt.
________________________________
This message may contain confidential information and is intended exclusively for the addressee. If you receive this message unintentionally, please do not use the contents but notify the sender immediately by return e-mail. University Medical Center Utrecht is a legal person by public law and is registered at the Chamber of Commerce for Midden-Nederland under no. 30244197.
Please consider the environment before printing this e-mail.
|
fdekievit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved!
The PeakFinding step in the DIMS pipeline has been refactored. Instead of averaging the intensities for technical replicates and doing PeakFinding on the averages, the new method will do PeakFinding for each technical replicate and then average the peak intensities for every biological sample. To do this, several scripts have been modified: