arf_export_differential
Exports differential results to a single InChIKey-annotated file, joining identifications from sibling .arf2 by MasterAlignmentID and optionally excluding curator-flagged wrong spots.
Instructions
差次的結果を InChIKey 付きの 1 ファイルへ書き出す(spec §6.1)。
先に arf_preprocess → arf_differential を実行しておくこと。同一 アラインメントの兄弟 .arf2 から同定情報を MasterAlignmentID で結合する。 濃縮解析の背景を保つため、有意な行だけでなく InChIKey が付いた全行を出す。
apply_curation(既定 true): curation_submit で wrong を付けたスポットを
同定なしとして扱い、出力から外す。フラグがあればメタ行 # curation = ... で
適用状況を宣言する。フラグが無ければ出力は変わらない。成功 payload の
curation は {state, wrong_excluded, suspect, orphaned}(orphaned は以前の版の
.arf2 に付いたまま当たらないフラグの件数。1 件以上なら warnings にも出る)。
assign(curation_submit の候補付け)は同定を置き換え(name_source / inchikey_source =
curation)、redundant は除外する。どちらかがあれば curation に
assigned と redundant_excluded が足される。
フラグ記録(curation/flags.jsonl)に読めない行があれば書き出さずにエラーを返す
(wrong を黙って落とさないため)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | ||
| apply_curation | No |