-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
caa67a0
commit b73c275
Showing
9 changed files
with
1,170 additions
and
1,090 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,23 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: UTF-8 -*- | ||
|
||
|
||
def test_tred(): | ||
""" Run tred.py on sample CSV file and generate TSV file with the genotype | ||
""" | ||
from tredparse.tred import main | ||
main(["tests/samples.csv", "--workdir", "work"]) | ||
|
||
|
||
def test_tredreport(): | ||
""" Highlight the potential risk individuals | ||
""" | ||
from tredparse.tredreport import main | ||
main(["work/t001.json", "work/t002.json", "--tsv", "work.tsv"]) | ||
|
||
|
||
def test_tredplot(): | ||
""" Plot the likelihood surface based on the model | ||
""" | ||
from tredparse.tredplot import likelihood | ||
likelihood(["work/t001.json", "--tred", "HD"]) |
Oops, something went wrong.