Import of BigWig files with rtracklayer fails under MultiCoreParam
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- r
調査の方向性
Start by running the reproducible example with bplapply, comparing SerialParam and MulticoreParam around rtracklayer's import and empty BigWig tiles. Trace the interaction between MulticoreParam workers and import, then confirm the cause and define a regression check covering empty and non-empty regions.
索引モデルが issue の本文から書いたものです。
説明
I'm seeing a weird bug in in my CAGEfightR package when trying to import BigWigFiles.
Here's a reproducible example:
# Load the example data
library(BiocParallel)
library(rtracklayer)
library(CAGEfightR)
data('exampleDesign')
# Example bigwig files
bw_plus <- system.file('extdata', exampleDesign$BigWigPlus,
package = 'CAGEfightR')
bw_plus <- BigWigFileList(bw_plus)
# Genome
mm9 <- SeqinfoForUCSCGenome("mm9")
grl <- tileGenome(mm9, ntile=3)
# Import, knowing that some areas will be empty
import(bw_plus[[1]], which=grl[[1]]) # empty
import(bw_plus[[1]], which=grl[[2]]) # empty
import(bw_plus[[1]], which=grl[[3]]) # has signal
# This works
lapply(bw_plus, import, which=grl[[1]])
lapply(bw_plus, import, which=grl[[2]])
lapply(bw_plus, import, which=grl[[3]])
# This works
register(SerialParam())
bplapply(bw_plus, import, which=grl[[1]])
bplapply(bw_plus, import, which=grl[[2]])
bplapply(bw_plus, import, which=grl[[3]])
# This works
register(MulticoreParam(3))
bplapply(bw_plus, import)
# This fails!
register(MulticoreParam(3))
bplapply(bw_plus, import, which=grl[[1]])
bplapply(bw_plus, import, which=grl[[2]])
bplapply(bw_plus, import, which=grl[[3]])
To summarize:
- You can import entire BigWig-files using bplapply.
- You can import part of a BigWig using bplapply and SerialParam
- You cannot import an empty tile from a BigWig file with bplapply and MultiCoreParam.
What's causing this strange behavior?
- 主要言語
- R
- スター
- 69
- フォーク
- 32
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Bioconductor/BiocParallel のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
Bioconductor/BiocParallel#286 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
Bioconductor/BiocParallel#285 ·
-
Bioconductor/BiocParallel#284 · コメント 2 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Bioconductor/BiocParallel#283 · コメント 2 件 ·
-
DoparParam: Captured stdout is relayed to stdout for some foreach adapters and stderr for others オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Bioconductor/BiocParallel#277 ·
Bioconductor/BiocParallel の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
easystats/performance#950 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
briandconnelly/airnow#9 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OHDSI/CohortConstructor#774 ·
-
pre-review R TeX Track: 5 (DSAIS)
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
openjournals/joss-reviews#11330 · コメント 7 件 ·