forked from daviddaiweizhang/fraposa
-
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.
* add DOI badge to README * update gitignore * update lockfile * add poetry config * rename Variants module to variants * add __version__ and logging set up * fix broken script paths * convert to src layout * drop scripts
- Loading branch information
Showing
12 changed files
with
498 additions
and
460 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
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
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,3 @@ | ||
[virtualenvs] | ||
create = true | ||
in-project = true |
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,7 @@ | ||
import logging | ||
import importlib.metadata | ||
|
||
log_fmt = "%(name)s: %(asctime)s %(levelname)-8s %(message)s" | ||
logging.basicConfig(format=log_fmt, datefmt="%Y-%m-%d %H:%M:%S") | ||
logger = logging.getLogger(__name__) | ||
__version__ = importlib.metadata.version("fraposa_pgsc") |
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
File renamed without changes.
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
#! /usr/bin/env python | ||
import argparse | ||
import fraposa_pgsc.fraposa as fp | ||
|
||
import fraposa as fp | ||
import argparse, sys | ||
|
||
|
||
if __name__ == '__main__': | ||
def main(): | ||
parser = argparse.ArgumentParser() | ||
parser.add_argument('ref_filepref', help='Prefix of binary PLINK file for the reference data.') | ||
parser.add_argument('stu_filepref', help='Prefix of binary PLINK file for the study data.') | ||
args = parser.parse_args() | ||
|
||
fp.plot_pcs(args.ref_filepref, args.stu_filepref) | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |
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
File renamed without changes.