Find results folder through run parameters
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 21
- Forks
- 11
- Avg merge
- 12h 5m
- Merged PRs (30d)
- 24
Description
If a MiSeq run gets delayed and run after the date in the run name, then the run folder name won't match the run name in the sample sheet and the lab_miseq_run table. The QAI Micall page uses that date to find the run folder, so it can't find the run folder.
Make the QAI Micall page look up the folder name in the miseqqc_runparameters table instead of calculating it from the run name.
As an example, the 170228_M01841_0287_000000000-AYA5T run folder used the "27-Feb-2017.M01841" run name.
###Workaround###
- Load the sample sheet in QAI, change the run name to match the run folder, then save it.
- In the database, update the
miseqqc_runparameters.experimentnamefield to match the date in the run name. - Copy the new sample sheet to the run folder.
- Delete the results from the run folder, then wait for the MiSeq monitor to submit it to Kive and upload the results.
- Delete the old run from QAI to avoid confusion, including related tables.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the QAI Micall page code that locates a MiSeq run folder, then inspect the miseqqc_runparameters table and its experimentname field. Verify the delayed-run example resolves the folder 170228_M01841_0287_000000000-AYA5T from the stored run parameters rather than deriving the date from the run name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100