Skip to content

Commit

Permalink
Merge pull request #828 from chgibb/beta-staging
Browse files Browse the repository at this point in the history
0.10.0-beta.1
  • Loading branch information
chgibb committed Nov 26, 2018
2 parents d4c1726 + afa20d0 commit 8510387
Show file tree
Hide file tree
Showing 54 changed files with 1,287 additions and 336 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -22,6 +22,7 @@ forDist/FastQC/**
forDist/linux/samtools
forDist/win32/*.exe
forDist/bootstrap.min.css
forDist/hisat2*
src/installUpdateProcess/*.dll
\.idea/
src/**/*.js
Expand Down
21 changes: 20 additions & 1 deletion .vscode/settings.json
@@ -1,3 +1,22 @@
{
"git.ignoreLimitWarning": true
"git.ignoreLimitWarning": true,
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/phat-linux-x64/**": true,
"**/phat-win32-x64/**": true,
"**/src/*.js": true,
"**/not_node_modules": true,
"**/tests/**": true,
"**/.buildCache/**": true
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/src/*.js": true
}
}
28 changes: 14 additions & 14 deletions README.md
Expand Up @@ -10,22 +10,22 @@

![PHAT Action Shot 1](https://chgibb.github.io//PHATDocs/docs/latest/actionShot1.png)

### [Latest Stable Release: PHAT@0.9.1](https://chgibb.github.io/PHATDocs/releases/0.9.1/index)
### [Latest Stable Release: PHAT@0.9.2](https://chgibb.github.io/PHATDocs/releases/0.9.2/index)
## Documentation Quicklinks
1. [How to Get PHAT](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/howToGetPHAT)
2. [Working With PHAT Projects](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/projects)
3. [Inputting Files](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/inputtingFiles)
4. [Running Quality Control (QC) Reports](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/QCReports)
5. [Running Alignments](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/runningAlignments)
6. [Reports and Analyses](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/reportsAndAnalyses)
7. [Circular Visualization](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/circularVisualization)
8. [BLASTing Alignments](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/blastingAlignments)
1. [How to Get PHAT](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/howToGetPHAT)
2. [Working With PHAT Projects](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/projects)
3. [Inputting Files](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/inputtingFiles)
4. [Running Quality Control (QC) Reports](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/QCReports)
5. [Running Alignments](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/runningAlignments)
6. [Reports and Analyses](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/reportsAndAnalyses)
7. [Circular Visualization](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/circularVisualization)
8. [BLASTing Alignments](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/blastingAlignments)

### Application Architecture
1. [Overview](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/archOverview)
2. [Contributing](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/contributingGuide)
3. [Repository Structure](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/repoStructure)
4. [Performance](https://chgibb.github.io/PHATDocs/docs/releases/0.9.1/performance)
1. [Overview](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/archOverview)
2. [Contributing](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/contributingGuide)
3. [Repository Structure](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/repoStructure)
4. [Performance](https://chgibb.github.io/PHATDocs/docs/releases/0.9.2/performance)

The Pathogen-Host Analysis Tool (PHAT) is an application for processing and analyzing next-generation sequencing (NGS) data as it relates to relationships between pathogen and host organisms. PHAT provides quality control (QC) reporting on sequence files, alignment of sequence files against reference files, single-nucleotide polymorphism (SNP) prediction, linear and circular alignment viewing, and Excel and comma separated values (CSV) output.

Expand All @@ -40,7 +40,7 @@ PHAT is under development in the Zehbe Lab ([http://zehbelab.weebly.com/](http:/

Gibb CM, Jackson R, Mohammed S, Fiaidhi J, Zehbe I. Pathogen-Host Analysis Tool (PHAT): an Integrative Platform to Analyze Pathogen-Host Relationships in Next-Generation Sequencing Data. bioRxiv. https://doi.org/10.1101/178327

### [Latest Beta Release: PHAT@0.9.1-beta.1](https://chgibb.github.io/PHATDocs/releases/0.9.1-beta.1/index)
### [Latest Beta Release: PHAT@0.9.2-beta.1](https://chgibb.github.io/PHATDocs/releases/0.9.2-beta.1/index)

### [Release History](https://chgibb.github.io/PHATDocs/allReleases)

Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Expand Up @@ -11,6 +11,8 @@ install:
- ps: wget "https://raw.githubusercontent.com/twbs/bootstrap/v3.3.7/dist/css/bootstrap.min.css" -OutFile "forDist/bootstrap.min.css"
- ps: wget "https://github.com/dkoboldt/varscan/releases/download/2.4.2/VarScan.v2.4.2.jar" -OutFile "forDist/varscan.jar"
- ps: wget "https://github.com/samtools/samtools/releases/download/1.4.1/samtools-1.4.1.tar.bz2" -OutFile "samtools-1.4.1.tar.bz2"
- ps: wget "http://ccb.jhu.edu/software/hisat2/dl/hisat2-2.1.0-Linux_x86_64.zip" -OutFile "hisat2-2.1.0-Linux_x86_64.zip"
- ps: wget "http://www.di.fc.ul.pt/~afalcao/hisat2.1/hisat2.1_Windows.zip" -OutFile "hisat2.1_Windows.zip"
- bash scripts/install.bash >nul

build_script:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "phat",
"version": "0.9.2-beta.1",
"version": "0.9.2",
"description": "Pathogen Host Analysis Tool",
"main": "main.js",
"scripts": {
Expand Down
43 changes: 43 additions & 0 deletions scripts/install/getHisat2.bash
@@ -0,0 +1,43 @@
(set -o igncr) 2>/dev/null && set -o igncr; # For Cygwin on Windows compaibility

if [[ "$OSTYPE" == "linux-gnu" ]]; then
wget "http://ccb.jhu.edu/software/hisat2/dl/hisat2-2.1.0-Linux_x86_64.zip"

unzip hisat2-2.1.0-Linux_x86_64.zip

cp hisat2-2.1.0/hisat2 forDist
cp hisat2-2.1.0//hisat2-build forDist
cp hisat2-2.1.0/hisat2-build-s forDist
cp hisat2-2.1.0/hisat2-build-l forDist
cp hisat2-2.1.0/hisat2-align-s forDist
cp hisat2-2.1.0/hisat2-align-l forDist
cp hisat2-2.1.0/hisat2-inspect forDist
cp hisat2-2.1.0/hisat2-inspect-s forDist
cp hisat2-2.1.0/hisat2-inspect-l forDist

rm hisat2-2.1.0-Linux_x86_64.zip
rm -rf hisat2-2.1.0
fi

if [[ "$OSTYPE" == "cygwin" ]]; then
wget "http://ccb.jhu.edu/software/hisat2/dl/hisat2-2.1.0-Linux_x86_64.zip"
wget "http://www.di.fc.ul.pt/~afalcao/hisat2.1/hisat2.1_Windows.zip"

jar xf hisat2.1_Windows.zip

jar xf hisat2-2.1.0-Linux_x86_64.zip

cp hisat2.1/hisat2 forDist
cp hisat2-2.1.0//hisat2-build forDist
cp hisat2.1/hisat2-build-s.exe forDist
cp hisat2.1/hisat2-build-l.exe forDist
cp hisat2.1/hisat2-align-s.exe forDist
cp hisat2.1/hisat2-align-l.exe forDist
cp hisat2.1/hisat2-inspect-s.exe forDist
cp hisat2.1/hisat2-inspect-l.exe forDist

rm *zip

rm -rf hisat2-2.1.0
rm -rf hisat2.1
fi
2 changes: 1 addition & 1 deletion src/AlignRenderer.ts
Expand Up @@ -105,7 +105,7 @@ $
{
for(let i = 0; i != ops.length; ++i)
{
if(ops[i].name == "runAlignment")
if(ops[i].name == "indexFastaForBowtie2" || ops[i].name == "runBowtie2Alignment" || ops[i].name == "indexFastaForHisat2" || ops[i].name == "runHisat2Alignment")
{
(<reportView.ReportView>viewMgr.getViewByName("report")).shouldAllowTriggeringOps = false;
found = true;
Expand Down
4 changes: 2 additions & 2 deletions src/InputRenderer.ts
Expand Up @@ -11,7 +11,7 @@ import * as fastqView from "./req/renderer/inputRenderer/FastqView";
import * as fastaView from "./req/renderer/inputRenderer/FastaView";

import {AtomicOperation} from "./req/operations/atomicOperations";
import {IndexFastaForAlignment} from "./req/operations/indexFastaForAlignment";
import {IndexFastaForBowtie2Alignment} from "./req/operations/indexFastaForBowtie2Alignment";
import {IndexFastaForVisualization} from "./req/operations/indexFastaForVisualization";
import {InputBamFile} from "./req/operations/InputBamFile";
import {LinkRefSeqToAlignment} from "./req/operations/LinkRefSeqToAlignment";
Expand Down Expand Up @@ -166,7 +166,7 @@ $
for(let i = 0; i != ops.length; ++i)
{
if(ops[i].name == "inputBamFile" || ops[i].name == "linkRefSeqToAlignment" ||
ops[i].name == "indexFastaForVisualization" || ops[i].name == "indexFastaForAlignment" ||
ops[i].name == "indexFastaForVisualization" || ops[i].name == "indexFastaForBowtie2Alignment" ||
ops[i].name == "linkRefSeqToAlignment" || ops[i].name == "importFileIntoProject")
{
masterView.shouldAllowTriggeringOps = false;
Expand Down
137 changes: 0 additions & 137 deletions src/RunAlignmentProcess.ts

This file was deleted.

8 changes: 8 additions & 0 deletions src/RunBowtie2Alignment.ts
@@ -0,0 +1,8 @@
import {getReadable,getReadableAndWritable} from "./req/getAppPath";
import {bootStrapCodeCache} from "./req/bootStrapCodeCache";

bootStrapCodeCache(
getReadable("RunBowtie2AlignmentProcess.js"),
"./RunBowtie2AlignmentProcess",
getReadableAndWritable("RunBowtie2AlignmentProcess.cdata")
);

0 comments on commit 8510387

Please sign in to comment.