Consolidate the acquisition commands onto `data fetch`

Đang mở
#162 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/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
cli

Hướng nghiên cứu

Start by reading the generic fetch_data entry point and the focused acquisition commands named in the issue; this work depends on #161, and option grammar is tracked in #163. Check how the CLI validates options by resource kind and how it lists and fetches resources. Done means data fetch supports every focused command's options, the focused commands remain documented compatibility aliases, library hints use orfdata data fetch NAME, and GDC inventory is listed and fetchable.

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

Mô tả

enhancement

There are 16 commands that download or build data:

Resource Commands
catalogue data fetch, data catalog, catalogs download, catalogs build, setup
dataset data fetch, data dataset, datasets download, datasets build
search FASTA data fetch DATASET:ASSET, data reference, datasets download-reference
genome data fetch, data genome, genomes install
chain data fetch, data chains, chains download, setup
viral data fetch, data viral, setup; inventory only via viral inventory download

Their capabilities have diverged:

  • Only genomes install takes --genome-fasta.
  • Only data viral takes the molecule and annotation options.
  • data fetch rejects --source-path for chains, references and viral collections.
  • The GDC inventory isn't a data list resource.

Library error hints still point at the focused commands ('orfdata catalogs build, 'orfdata datasets build, 'orfdata chains download, 'orfdata genomes install, 'orfdata download viral), while the CLI's own hints say orfdata data fetch.

Acceptance:

  • data fetch accepts every option any focused command accepts, validated per kind.
  • The focused acquisition commands become thin aliases over fetch_data, documented as such and kept for compatibility.
  • Library hints name orfdata data fetch NAME.
  • The GDC inventory is listed and fetchable like other resources.

Easiest after #161, which makes fetch_data generic. Option grammar is tracked in #163.

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.