tripal/tripal_jbrowse
Composer 安装命令:
composer require tripal/tripal_jbrowse
包简介
A module to integrate JBrowse instances into Tripal 4 pages.
README 文档
README
Tripal JBrowse Integration
This package of modules integrates GMOD JBrowse into your Tripal site providing
- Tripal page integration via Tripal JBrowse Page and
- Coming soon: a user interface for JBrowse instance creation and management via Tripal JBrowse Management.
This powerful combination allows you to provide seamless genome browsing to your users in an administrator-friendly manner.
Installation Instructions
Quickstart using Docker
If you do not yet have a Tripal 4 site and want to try out our module, you can use the Tripal Docker. By using the Dockerfile within this repository, you will simulate a Tripal 4 website with Tripal JBrowse already enabled. All you need to have installed on your local machine is Docker or Docker Desktop!
- Clone this repository and cd into it
git clone https://github.com/tripal/tripal_jbrowse.git
cd tripal_jbrowse
- Build the docker image (this may take a few minutes)
docker build . --tag=tripal_jbrowse:latest
- Run the docker container off the image you just built. This run command maps your current directory (ie. this repository) into the container so it will be possible to edit the repository locally (this is particularly useful if you want to help contribute to this module!). You can also change port 80 to another port if you need (ex: 9000:80).
docker run -dit --name=tripaljbrowse --publish=80:80 --volume=`pwd`:/var/www/drupal/web/modules/contrib/tripal_jbrowse tripal_jbrowse:latest
- Restart your docker container's postgresql database
docker exec tripaljbrowse service postgresql restart
- Now you can navigate to http://localhost/ to see your Tripal JBrowse docker up and running! NOTE: If you changed the port number in step 3, you will navigate to localhost:<port #> instead (ex: http://localhost:9000).
From here, if you'd like to follow a tutorial on how to embed an example JBrowse, follow the instructions here: Tutorial.md
If you'd like to contribute to the module's development, refer to the contribute section below.
If you have an existing Tripal 4 site
Navigate to your site’s base directory (this is called “drupal” in the Tripal Docker – you'll want to use cd ../ to get there after you first enter the docker via command line). Then run:
composer require tripal/tripal_jbrowse
You can now enable the module by navigating to Administration » Manage » Extend and scrolling down to the “Tripal JBrowse” heading. Click the checkbox next to “Tripal JBrowse” (ignore Tripal JBrowse Management for now), scroll all the way down and click “Install”.
Congratulations, you’ve now installed Tripal JBrowse!
At present, you do not need to install JBrowse2 on the same machine that your Tripal 4 site is located. Instead, a URL to an external configuration file is used by the module to embed that instance. There are current plans to accomodate access to locally hosted JBrowse2 instances, as was done in version 7.x-3.x of this module.
Listing and Creating Instances
To list all instances, visit Administration » Tripal » Content » JBrowse Instances
An alternative way to get there is Administration » Manage » Content » JBrowse Instances
You can create a new JBrowse instance from this page (using the “+ Add jbrowse instance” button). Note that your Tripal site will need to have an organism and genome assembly already created in order to associate it with your JBrowse instance. (Both of these can be created through Administration » Manage » Content » Tripal Content and clicking on + Add Tripal Content)
Editing or Deleting an Instance
On the JBrowse Instances listing, you can edit or delete an existing JBrowse instance by selecting “Edit” or “Delete”, respectively, in the dropdown menu under “Operations”.
You can also perform these operations from the Instance page itself, by selecting the Edit or Delete tab located next to the View tab at the top of the page.
To contribute to development using the tripal_jbrowse docker
Refer to the steps above in Quickstart using Docker to setup a docker container for development. Refer to the Tripal Docker Documentation for information on how to log in and administer the site, as well as any troubleshooting.
This setup enables you to open the repository files locally in your favourite editor and any changes should show up in http://localhost. You can also setup a new docker container at any time with existing code changes to your repository (useful if you need to quickly reset any configuration changes or content added to your Tripal 4 site within the docker).
If you have trouble seeing changes you've made to the code, try running a cache rebuild on the site:
docker exec tripaljbrowse drush cr
License & Acknowledgements
This module is open-source and licensed under GPLv3. Read full license.
4.x Authors:
- Carolyn Caron (@carolyncaron)
- Lacey-Anne Sanderson (@laceysanderson)
7.x-3.x Authors:
- Lacey-Anne Sanderson (@laceysanderson)
- Abdullah Almsaeed (@almasaeed2010)
- Joe West (@jwest60)
- Other contributors (https://github.com/tripal/tripal_jbrowse/graphs/contributors)
Copyright 2018 University of Saskatchewan and University of Tennessee Knoxville.
Citation:
Lacey-Anne Sanderson, Abdullah Almsaeed, Joe West, & Yichao Shen. (2019). tripal/tripal_jbrowse: Tripal JBrowse 3.0 (Version 7.x-3.0). Zenodo. http://doi.org/10.5281/zenodo.3564724.
tripal/tripal_jbrowse 适用场景与选型建议
tripal/tripal_jbrowse 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 9, 最近一次更新时间为 2023 年 01 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「visualization」 「tripal」 「biological-data」 「jbrowse」 「genome browser」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tripal/tripal_jbrowse 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tripal/tripal_jbrowse 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tripal/tripal_jbrowse 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Google Charts the Yii 2.0 way
Tripal is a toolkit to facilitate construction of online genomic, genetic (and other biological) websites.
Automates the generation of graphs based on dataset provided in an array
Laravel Atlas scans your Laravel project to generate a complete, structured map of its internal components — models, controllers, routes, jobs, observers, events, commands, and more — and exports visual or machine-readable representations in formats like Mermaid, Markdown, JSON, or PDF.
PHP backend data provider for database relationship visualization. Collects customer data across multiple databases and computes relationship matches for consumption by dbrel-viz.
PHPUnit extension that generates an interactive squarified treemap visualization of code coverage
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-01-27