higlass / higlass/higlass-python

Support (inline) bedlike data

オープン
#111 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
66
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

```
Bed-like data
-------------

If you have data representing intervals in a Python object, you can load it
directly into higlass using the `bedtiles` helper function:

.. image:: img/beditems.png

.. code-block:: python

from higlass.client import View, Track
from higlass.inline_tiles import bedtiles
import higlass

bed = [['chr1', 1000, 2000, 'item #1', '.', '+'],
['chr2', 3000, 3500, 'item #1', '.', '-']]

chroms = [['chr1', 2100], ['chr2', 4000]]

data = bedtiles(bed, chroms)
track = Track(track_type='bedlike', position='top',
height=50, data=data, options={"minusStrandColor": "red"})

d,s,v = higlass.display([[track]])
d

Note that this function loads all the data into the viewconf and does
not use a server. Do not use this function with more than ~3000 items of
data.

```

We haven't implemented an inline-tiles function, however this API should be easy to support.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start in higlass/inline_tiles.py with the existing bedtiles helper and review how its data is passed to a bedlike Track. Support the inline-tiles API for the documented bed-like Python data, then verify that the sample with chromosome lengths and strand colors can be displayed without a server.

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

評価

技術スタック
python
領域
data-visualization
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

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

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