Sample name uniqueness?

Aperta
#175 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
18/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

The payload names no source file, only the special columns section of the project definition docs and the microtest annotations used as test data. Start by reproducing the duplicate sample_name case with those annotations, then find where sample sheets are loaded and validated. The open question is whether uniqueness should be enforced or the output-folder behavior documented, and that needs a maintainer decision before any code change.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

It's mentioned in the special columns section of the project definition docs that sample_name should be a unique identifier, but I don't think that we enforce the uniqueness constraint, and I seem to be able to tweak the microtest annotations to have duplicate sample names and get no error. I think this really isn't a major issue since I think that some protocol data is embedded in the sample name, and often there may only be one protocol/pipeline per "sample" row in the sheet anyway.

The scenario I'm envisioning is one in which someone creates a sheet with two entries with the same name, but protocols are different. Say, old_mouse_A with ATAC as protocol, and and old_mouse_A with WGBS as protocol. I think then that the results would just wind up in the same output folder, but otherwise this may not be problematic? Does anyone know top-of-mind whether output from these hypothetical samples would in fact be destined for the same folder? If so, is this the desired behavior, or do we want to differentiate on protocol?

Lingua principale
Python
Stelle
41
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pepkit/peppy

Tutte le issue di pepkit/peppy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.