Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:4
-
Epic Link:
-
Sprint:Fall 9 2021 Dec 13 - Dec 24, Spring 1 2022 Jan 3 - Jan 14, Spring 2 2022 Jan 18 - Jan 28, Spring 3 2022 Jan 31 - Feb 11
Description
Use case scenario:
A user has uploaded or created a BAM file with RNA-Seq data. They would like to create a bedgraph file representing a scaled RNA-Seq coverage graph. However, for the bedgraph to be useful, the file needs to be sorted, compressed, and tabix-indexed. Currently, we have a BioViz CyVerse app that creates a bedgraph file using a tool from the deepTools suite, but the bedgraph file is not compressed or tabix-indexed. Rather than just create the "plain" bedgraph file, let's also create the bedgraph file and then sort, compress, and tabix-index it. This will be much more useful to a user than simply the plain-text, uncompressed, unindexed file.
This will probably require created a docker image where the docker "run" command is actually running a script that we write that does all of the above. Note that you can potentially obtain the original docker image with deepTools and use that to further provision it with tabix/samtools. Also, be sure to save the docker provisioning file (the docker file).
Create a Cyverse analyses app that does two things:
- creates a scaled coverage graph using bamCoverage (from the deepTools suite)
- sorts and tabix-indexes the resulting bedgraph file (the output from bamCoverage)
References:
bamCoverage documentation
How to index a bedgraph
tabix and bgzip in Samtools
Deploying apps in CyVerse
Tool integration in DE
Some examples of scripts that do all of the above can be found in our code repositories in various places. Remind [~aloraine] to provide links to the most relevant repositories and scripts.
A docker project for your reference: https://bitbucket.org/lorainelab/integrated-genome-browser-docker/src/master/
I also have set up a Docker VM that I use for making the IGB docker image. See EC2 list in the lorainelab AWS account.