Skip to content
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

Add Sample Name to project #344

Open
mflynn-lanl opened this issue Jan 30, 2025 · 0 comments
Open

Add Sample Name to project #344

mflynn-lanl opened this issue Jan 30, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mflynn-lanl
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
We would like to add a Sample Name to the project. This would help with submissions to the Submission Portal. We would also like to add a Sample Name column to the project results. This was also requested by a user to include the sample name in the results.

Describe the solution you'd like
Add a new field to user input form that is pre-populated with a sample name derived from the file name once the user has selected the file input. This could be done either through a pop-up window, or a new text box that appears once a file has has been selected. The sample name could be either the whole file name minus the extension, or if the file name conforms to the naming convention for most sequencers it could be truncated. For example, if a user selected a file named test_input.fna, the sample name would be test_input and if the file was generated by a sequencer it would be named something like LN7_S1_L001_R1_001.fq.gz and the sample name would be LN7.

Additional context
To make the sample name compatible with NMDC Schema, they need to be conform to the following restrictions (from (https://data.microbiomedata.org/submission/01c52edb-7dbc-40c1-a5bf-7cf8e0e58a46/samples) :
Column:sample name
Description:A local identifier or name that for the material sample collected. Refers to the original material collected or to any derived sub-samples.
Guidance:
It can have any format, but we suggest that you make it concise, unique and consistent within your lab, and as informative as possible.

Each record must have a unique value for this field.

@mflynn-lanl mflynn-lanl added the enhancement New feature or request label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants