Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Allow BAM as input for long-reads submission

未关闭
#98 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@Vkale1 已经在做这个了。

开始于 2026年10月15日。

评估

难度
5/5
预计耗时
一周以上
新手友好度
42/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃

调研方向

首先定位 raw-read 文件类型处理以及基因组上传步骤的 Nextflow 参数。检查现有的 genome_uploader PR,并确认 PacBio 和 ONT 格式的 ENA 提交要求。完成的标准是:单 contig 长读长基因组和 FastQ/BAM 提交能够端到端运行,并且在大型上传后能够正常重试。

由索引模型根据 Issue 内容生成。

描述

enhancement

Description of feature

1. Long-read raw read submission (--mode reads)

Samplesheet schema (assets/schema_input_reads.json)

  • fastq_1 only accepts FASTQ. Add a new bam column, and require either fastq_1 or bam. A separate column is clearer than widening the fastq_1 pattern, since ENA treats BAM as its own manifest field.
  • Only allow bam when platform is OXFORD_NANOPORE or PACBIO_SMRT, and require fastq_2 to be empty for those platforms.
  • To confirm: leave out .tar.gz until ENA confirms whether it will still be supported.
    Workflow (workflows/readsubmit.nf)
  • Update the samplesheet mapping for the new bam column and record the file type (FASTQ or BAM) in meta.
    Manifest creation (modules/local/create_reads_manifest/main.nf)
  • Add BAM support so the manifest gets a BAM line instead of FASTQ lines.
  • To confirm: whether create_reads_manifest in mgnify-pipelines-toolkit (1.5.1) supports BAM.

2. Make BAM uploads retry cleanly

  • ENA_WEBIN_CLI_WRAPPER only retries on a few exit codes, once. Network failures during upload usually aren't retried. Add a withName block in conf/modules.config that retries on any failure, at least 3 times, with more time per attempt.
  • If an upload succeeds but the task fails afterwards, the retry will be rejected by ENA as already submitted. Check that the wrapper treats this as success and recovers the accession; if not, fix upstream.
  • The wrapper copies input files into the work directory. Switch to symlinks if Webin-CLI allows it, to save disk and time.
  • Optional: expose Webin-CLI's Aspera option for faster uploads (needs Aspera in the container).

3. Raw read tests

  • Add a small ONT FASTQ and a small long-read BAM to nf-core/test-datasets.
  • Add tests test_reads_long_fastq and test_reads_long_bam.
主要语言
Nextflow
星标
22
派生
11
平均合并
1 天 4 小时
30 天内合并 PR
8

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nf-core/seqsubmit 的其他 Issue

查看 nf-core/seqsubmit 的全部 Issue

相似的 Issue

更多 Data Engineering Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。