Sample name uniqueness?

Đang mở
#175 8 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
18/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Python
Star
41
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pepkit/peppy

Tất cả issue của pepkit/peppy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.