Skip to content

Commit e78b7da

Browse files
committed
Changed webservice.cgi name to rnaSeqMapCoverage
New feature: • Changed webservice.cgi filename to rnaSeqMapCoverage.cgi Bug fix: • Fixed bug where sometimes bootstrap would not load • Fixed bug where the dumpOutput was not showing the data in a readable-manner for ReadsMappedNucleotidePosition In progress: • MEDIAN control data • Visual cue for directional arrows on RNA-Table • Getting the eFP-Seq Browser to work for internet explorer TODO: • Make eFP Overview more responsive to screen's resolution • TMM or TPM and median for additional normalization methods • Expand the creation of the private database to include adding from public and private database to your creation Known bugs: • After generating new data, scrolling up doesn’t work unless the user scrolls down first • Does not work on IE • Google Drive repos do not work for IGB links
1 parent c77aad3 commit e78b7da

8 files changed

+19
-15
lines changed

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# eFP-Seq-Browser
22

3-
[![TravisCI - Build Status](https://travis-ci.org/ASully/eFP-Seq-Browser.svg?branch=master)](https://travis-ci.org/ASully/eFP-Seq-Browser)
4-
[![Maintainability](https://api.codeclimate.com/v1/badges/c87696819acab6a6c803/maintainability)](https://codeclimate.com/github/ASully/eFP-Seq-Browser/maintainability)
5-
63
The eFP-Seq Browser is a RNA-Seq data exploration tool that shows read map coverage of a gene of interest along with a "electronic fluorescent pictopgrahic" (eFP) image. This web-tool also allows generation of new datasets if provided with SAM/BAM (with their index files) to allow visualization of any RNA-Seq mapping coverage. Gene expression levels and similarity is also shown by calculating the Reads per Kilobase per Million reads mapped (RPKM) expression levels and Pearson Correlation Coefficient (PCC) scores amongst its different splice variants.
74

85
## Getting Started

cgi-bin/Submission_page.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<script defer src="Submission_page/mrDataConverter/DataGridRenderer.min.js"></script>
1616
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1717
<!--Bootstrap -->
18-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
19-
<link rel="stylesheet" href="core/bootstrap/bootstrap-theme-3-3-7.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
20-
<script src="core/bootstrap/bootstrap3-3-7.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="" crossorigin="anonymous">
19+
<link rel="stylesheet" href="core/bootstrap/bootstrap-theme-3-3-7.min.css" integrity="" crossorigin="anonymous">
20+
<script src="core/bootstrap/bootstrap3-3-7.min.js" integrity="" crossorigin="anonymous"></script>
2121
<!-- Google Analytics ID -->
2222
<script>
2323
(function (i, s, o, g, r, a, m) {

cgi-bin/core/custom.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ function parseIntArray(arr) {
542542
return arr;
543543
}
544544

545-
var rnaseq_image_url = "cgi-bin/webservice.cgi";
545+
var rnaseq_image_url = "cgi-bin/rnaSeqMapCoverage.cgi";
546546
var match_drive = "";
547547
var progress_percent = 0;
548548
var sra_list_check = [];
@@ -652,7 +652,14 @@ function rnaseq_images(status) {
652652
if (callDumpOutputs == true) {
653653
dumpOutputs += '\t\telif (record == "' + response_rnaseq["record"] + '"):\n';
654654
if (dumpMethod == "complex") {
655-
dumpOutputs += '\t\t\tdumpJSON(200, "' + response_rnaseq["locus"] + '", ' + response_rnaseq["variant"] + ', ' + response_rnaseq["chromosome"] + ', ' + response_rnaseq["start"] + ', ' + response_rnaseq["end"] + ', "' + response_rnaseq["record"] + '", "' + response_rnaseq["tissue"] + '", "' + response_rnaseq["rnaseqbase64"] + '", ' + response_rnaseq["reads_mapped_to_locus"] + ', ' + response_rnaseq["absolute-fpkm"] + ', [' + response_rnaseq["r"] + '], ' + response_rnaseq["totalReadsMapped"] + ', [' + response_rnaseq["exp_arr"] + '], [' + response_rnaseq["ReadsMappedNucleotidePosition"] + '], {';
655+
dumpOutputs += '\t\t\tdumpJSON(200, "' + response_rnaseq["locus"] + '", ' + response_rnaseq["variant"] + ', ' + response_rnaseq["chromosome"] + ', ' + response_rnaseq["start"] + ', ' + response_rnaseq["end"] + ', "' + response_rnaseq["record"] + '", "' + response_rnaseq["tissue"] + '", "' + response_rnaseq["rnaseqbase64"] + '", ' + response_rnaseq["reads_mapped_to_locus"] + ', ' + response_rnaseq["absolute-fpkm"] + ', [' + response_rnaseq["r"] + '], ' + response_rnaseq["totalReadsMapped"] + ', [' + response_rnaseq["exp_arr"] + '], [';
656+
for (r = 0; r < response_rnaseq["ReadsMappedNucleotidePosition"].length; r += 2) {
657+
dumpOutputs += '[' + response_rnaseq["ReadsMappedNucleotidePosition"][r] + ']';
658+
if (r != (response_rnaseq["ReadsMappedNucleotidePosition"].length - 2)) {
659+
dumpOutputs += ", "
660+
};
661+
}
662+
dumpOutputs += '], {';
656663
for (e = 0; e < response_rnaseq["expected_expr_in_variant"].length; e++) {
657664
dumpOutputs += '"' + GFF_List[e].replace(locus, '') + '": ';
658665
dumpOutputs += '[' + response_rnaseq["expected_expr_in_variant"][e] + ']';

cgi-bin/core/custom.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cgi-bin/get_gene_structures.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646

4747
$.ajax({
48-
url: 'cgi-bin/webservice.cgi?tissue=aerial&record=ERR274310&locus=' + locus + '&variant=1&start=' + response["locus_start"] + '&end=' + response["locus_end"],
48+
url: 'cgi-bin/rnaSeqMapCoverage.cgi?tissue=aerial&record=ERR274310&locus=' + locus + '&variant=1&start=' + response["locus_start"] + '&end=' + response["locus_end"],
4949
dataType: 'json',
5050
success: function(res) { // When the file is retrieved:
5151
console.log("RNA-Seq request successful for tissue = aerial, record = ERR274310, locus = " + locus + ', variant = 1, start = ' + response["locus_start"] + ', end = ' + response["locus_end"]);
File renamed without changes.

cgi-bin/webservice.html cgi-bin/rnaSeqMapCoverage.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
console.log("Y-scale requested: " + yscale);
4949

5050
$.ajax({
51-
url: 'cgi-bin/webservice.cgi?tissue=' + tissue + '&record=' + record + '&locus=' + locus + '&variant=1&start=' + locus_start + '&end=' + locus_end + '&yscale=' +
51+
url: 'cgi-bin/rnaSeqMapCoverage.cgi?tissue=' + tissue + '&record=' + record + '&locus=' + locus + '&variant=1&start=' + locus_start + '&end=' + locus_end + '&yscale=' +
5252
yscale,
5353
dataType: 'json',
5454
success: function(response_rnaseq) {

index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<link rel="stylesheet" href="cgi-bin/core/jquery-ui-1.12.1.custom/jquery-ui.css">
1616
<script async src="cgi-bin/core/jquery-ui-1.12.1.custom/jquery-ui-1.12.1.custom.min.js"></script>
1717
<!-- Bootstrap -->
18-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
19-
<link rel="stylesheet" href="cgi-bin/core/bootstrap/bootstrap4-0-0-beta-2.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
18+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="" crossorigin="anonymous">
19+
<link rel="stylesheet" href="cgi-bin/core/bootstrap/bootstrap4-0-0-beta-2.min.css" integrity="" crossorigin="anonymous">
2020
<!-- jQuery's slim build -->
21-
<script src="cgi-bin/core/bootstrap/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
22-
<script async src="cgi-bin/core/bootstrap/bootstrap4-0-0.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
21+
<script src="cgi-bin/core/bootstrap/popper.min.js" integrity="" crossorigin="anonymous"></script>
22+
<script async src="cgi-bin/core/bootstrap/bootstrap4-0-0.min.js" integrity="" crossorigin="anonymous"></script>
2323
<!-- tabletoCSV tool to create an option to download XML as CSV -->
2424
<script defer src="cgi-bin/core/tabletoCSV/jquery.tabletoCSV.js"></script>
2525
<!-- tablesort -->

0 commit comments

Comments
 (0)