Several per-source FASTA parsers duplicate fasta.read_fasta

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
bioinformatics

Hướng nghiên cứu

Read fasta.read_fasta, then inspect the FASTA loops in ensembl._fasta, peptideatlas, pfizer, and sources/ncorf_mammals. Move only plain record iteration to the shared reader, preserving each source's header interpretation and validation. Run the available tests for these parsers; done means the duplicated loops are removed without changing source-specific behavior.

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

Mô tả

fasta.read_fasta (#178) is the shared reader that pairs with write_fasta, with strict checks (empty header, repeated identifier, data before the first header). Other modules keep their own FASTA loops (ensembl._fasta, peptideatlas, pfizer, sources/ncorf_mammals and others), some with source-specific header validation and some without those checks. Move the plain record loop in each onto read_fasta and keep only the header interpretation per source, so a fix lands once. Raised in review of #178.

Ngôn ngữ chính
Python
Star
1
Fork
1
Merge trung bình
10 giờ 11 phút
Pull request đã merge (30 ngày)
51

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 openvax/orfdata

Tất cả issue của openvax/orfdata

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.