Several per-source FASTA parsers duplicate fasta.read_fasta

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

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

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

評価

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

調査の方向性

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.

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

説明

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.

主要言語
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 を短くまとめたダイジェスト。