-
Notifications
You must be signed in to change notification settings - Fork 1
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
Modify the data submission form for LCMethod
#759
Conversation
Files checked in: TraceBaseDocs/TraceBaseDocs/Upload/How to Upload.md TraceBaseDocs/TraceBaseDocs/Upload/How to label Mass Spec Run Information.md
3. Mass Spectrometry Details (see [How to label Mass Spec Run | ||
Information](https://docs.google.com/document/d/1Lm4br-jCB2QwbgPyzJvvgLgaO-t7Cwcq1xHyBIOlTog/edit?usp=sharing)) | ||
3. Mass Spectrometry Details (see [[How to label Mass Spec Run | ||
Information]]) |
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.
C. Removed the google docs link and added a new markdown file to paste its contents in. I have not made any changes to the documentation website.
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.
I assume that this internal "link" will work. Since I have not deployed this to the docs website, I don't know how to test that it works.
…ssion form. Files checked in: TraceBaseDocs/TraceBaseDocs/Upload/How to label Mass Spec Run Information.md
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.
C. This content was copied from the google doc and then edited.
- Description of Liquid Chromatography method and run length used | ||
- Possible values: | ||
- unknown | ||
- polar-HILIC-25-min | ||
- polar-reversed-phase-ion-pairing-25-min | ||
- polar-reversed-phase-25-min | ||
- lipid-reversed-phase-25-min | ||
- If the method/run-length is not available, please also include a description | ||
- Example Description: lipid-reversed-phase-25-min | ||
This method involves the analysis of lipids using reversed-phase | ||
chromatography on C18 columns, coupled with high resolution mass | ||
spectrometry. It is mainly used for the analysis of lipids. |
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.
C. This is the section that was edited
# How to label Mass Spec Run Information | ||
|
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.
C. Added a title.
LCMethod
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.
Thanks for catching and fixing the link to tracebase-dev. Also, I agree that this should probably be a new sheet added to the template. The issue #705 states "Update sumbission templates..." so I don't see any conflict in doing that, but please let me know if you have questions or concerns.
The ambiguous/confusing part to me about this is, I wasn't sure it the animal/sample template was included in "submission templates" or if the qualifier "submission" was singling out the sheet associated with the submission form by name and that it was plural because it was "allowing" a separate submission template to be added (separate from the animal/sample sheet) for the newly required information, given the M:M association between the sample and LCMethod / MSRun. I can see you could make a case that that is over-complicating the issue, but given I was struggling with reconciling this question with other issues/concerns, it just wasn't clear to me. So thanks for providing your interpretation. It sounds like you're suggesting that the design here is given a wide berth of interpretations, so I will come up with what I think is the most appropriate solution and possibly revise this and request a followup review. |
Thanks Rob. I suggest that run your design past the group before committing significant time to it. As we've reviewed before, providing a means for researchers to provide a single lcmethod for each accucor file should cover the majority of cases. When we write the loading code, we can allow for finer grained control (see #706). However, it is best to keep things as simple and straightforward for researchers. |
I am a step ahead of you on that. I created a design proposal yesterday before I left, for issue #706. There is a lot of overlap between this issue and that one, if you implement the changes called for here in the animal/sample table, since it's the loading code of the accucor data loader that takes in that data. And that's often how I approach design for challenges like this: from the perspective of the code. It informs what I need in terms of the data structure required. Since I was in the mindset of the submission form with this issue, and it didn't seem to fit with the data relationship between LC Method and the submission form, I was having trouble reconciling what seemed like contradictory requirements. Looking at it from the perspective of the loading code helped clarify it for me. The design I created in issue #706 relates to the changes we discussed yesterday in #687, where I liked the suggestion you made to add an optional This is my proposed alternative to re-supplying the animal/sample table to the accucor data loader. And my reason for that relates to a comment I made that points out that additional data submissions, if we re-supply the animal/sample table, would require either modifying the original sample table associated with a previous submission or duplicate the samples in new submission, neither option of which seemed desirable to me. This alternative design, adding an LCMS metadata file separates the dependency, keeps the animal/sample table clean and uncluttered, decouples the animal/sample table loading code from the accucor code, and meets the data relationship problems without duplicating data or modifying old data. |
@lparsons - The dependencies have been merged to main and I updated this branch. Do you want to review it? Your last review was a comment, so I'll wait for the approval before merging. |
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.
This looks good to me, thanks for moving the docs from Google Docs to the markdown files. I'm not sure if you modified the form or not, but it seems like we should probably update the form to take a single value for date, operator, and lc_method and indicate that if multiple are used, the researcher should fill in the details in a separate file. Am I correct in assuming that is how you were planning to have people submit more complicated situations? If so, let's go ahead and merge and then update the form and provide a template.
I guess the review was a tad premature. I should have read my affected issues section. I made some changes to the docs based on the changes in #774. Take a look. I also updated the submission form and I added a template for the LCMS-metadata file. If you see anything there, let me know. |
Files checked in: TraceBaseDocs/TraceBaseDocs/Upload/How to Upload.md TraceBaseDocs/TraceBaseDocs/Upload/How to label Mass Spec Run Information.md TraceBaseDocs/TraceBaseDocs/Upload/Sample Information Sheet.md
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.
Having the lc methods spelled out in the form is great. I can't see the LCMS-metadata file template, the link seems broken: "Sorry, unable to open the file at this time. Please check the address and try again.". A few minor comments, but otherwise, this looks good to go now.
Co-authored-by: Lance Parsons <lparsons@princeton.edu>
Files checked in: TraceBaseDocs/TraceBaseDocs/Overview/Navigating TraceBase.md TraceBaseDocs/TraceBaseDocs/Types of Data Output/Fcirc.md TraceBaseDocs/TraceBaseDocs/Types of Data Output/How to Download.md TraceBaseDocs/TraceBaseDocs/Upload/Labeling and Organizing Data.md TraceBaseDocs/TraceBaseDocs/Upload/Sample Information Sheet.md
I changed the access of the metadata template to public (like the animal sample template). You should be able to access it now if you're not logged into your google account - I assume that's how you tested it, since it was restricted, but you have edit access. |
I went ahead and merged. If you'd like any changes relative to the added template, I'll make a separate PR. |
I can use the link now. I was logged in before, but perhaps there was an issue since you provided a "copy" link? The template looks clean enough, though a bit intimidating to fill out. Hopefully most researchers won't have to, and we can always tweak things as we go. Thanks for synchronizing the docs, etc. |
I was thinking before that perhaps having a separate page in the docs that includes an example would help? I'd have added that yesterday, but was eager to move on... I know that you'd found it confusing in the design and asked for an example, which I believe seemed to help... |
Examples can be really useful, but I'd like to keep the instructions as streamlined as simple as possible. Right now we have two major issues to contend with:
|
I started working on #710 this afternoon. I've been selecting issues to work on based on the issue-tracking issues (#693, #700, and #701). I don't actually see an issue for storing the mzXML files. Am I just overlooking it? If it doesn't exist, I can create an issue for it, if you like. Also, I have a pretty well-thought-out plan for streamlining the submission process. I outlined it on pages 2 & 3 of my original proposal. Its groundwork is laid out in:
But I haven't created issues for the rest of it. Essentially, all a user would have to do is submit accucor/isocorr files and once errors are addressed, it would spit out an excel file with the usual animals/samples/treatments/tissues tabs plus tabs for study, infusates, tracers, and the LCMS metadata (which in the proposal, is referred to in 2 sheets: corrections and mzxml sheets) with much of the tedious work done automatically. They wouldn't have to be new tabs in an excel file either. It could just output tsv files (e.g. compounds, lcms metadata, etc.) like we currently use, though a new tracer/infusate tab would be nice. But the major benefit would be that it can stub-out all these files with the easy things and the user can just manually fill in the rest (i.e. data that cannot be unambiguously computed). The one limiting factor is speed. E.g. They couldn't submit an entire study's accucor files. But it could work per handful of accucor files and accumulate the results |
Ah, I finally found the issue. #753 lays out my submission process proposal. Searching did not reveal it before. |
Summary Change Description
The submission form was edited in google docs to request LCMethod details and the documented instructions were changed to reflect that.
I also:
Affected Issues/Pull Requests
Review Notes
Note, I edited the submission form. Please take a look at that.
tracebase-dev
totracebase
Personally, I feel like this data should be in a sheet in the uploaded excel file so that each method can be associated with the appropriate sample/file, but I tried to stay true to the issue description.
Checklist
This pull request will be merged once the following requirements are met. The
author and/or reviewers should uncheck any unmet requirements:
changelog.md