Consolidate the acquisition commands onto `data fetch`

オープン
#162 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
1
フォーク
1
平均マージ
10時間 11分
マージ済み PR(30日)
51

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openvax/orfdata のほかの issue

openvax/orfdata の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。