-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for the Crate generated by onlly Sapporo
- Loading branch information
Showing
3 changed files
with
69 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { args, compare, crate } from "../src/mod.ts"; | ||
|
||
const CRATE_DIR = `${new URL(".", import.meta.url).pathname}example_crate`; | ||
|
||
Deno.test("RNA-seq using only Sapporo test", async () => { | ||
const loc1 = `${CRATE_DIR}/rnaseq_1st.json`; | ||
const loc2 = `${CRATE_DIR}/rnaseq_only_sapporo.json`; | ||
|
||
const parsedArgs = await args.parseArgs([loc1, loc2]); | ||
const crate1 = new crate.Crate(parsedArgs.loc1); | ||
await crate1.initialize(); | ||
const crate2 = new crate.Crate(parsedArgs.loc2); | ||
await crate2.initialize(); | ||
compare.compare(crate1, crate2, parsedArgs.all, parsedArgs.threshold); | ||
}); |