Skip to content

Commit

Permalink
fix small bugs; remove old wgs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhiwen-Owen-Jiang committed Jan 30, 2025
1 parent df6c537 commit 5e1fb1c
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 440 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Highly Efficient Imaging Genetics (HEIG)
HEIG is a comprehensive toolbox for efficiently conducting joint analysis for large-scale imaging and genetic data, which includes Representation learning-based Voxel-level Genetic Analysis (RVGA). Compared to traditional voxel-level GWAS methods, RVGA reduces computational time and storage burden by over 200 times, significantly boosts statistical power in association analysis, and most importantly, defines the standard to share the voxel-level GWAS summary statistics to the community.
HEIG is a comprehensive toolbox for efficiently conducting joint analysis for large-scale imaging and genetic data, which includes Representation learning-based Voxel-level Genetic Analysis (RVGA) and Representation learning-based Voxel-level Rare Variant Analysis (RVRVA). Compared to traditional voxel-level GWAS methods, RVGA reduces computational time and storage burden by over 200 times, significantly boosts statistical power in association analysis, and most importantly, defines the standard to share the voxel-level GWAS summary statistics to the community.

The analyses incorporated in HEIG:
- Voxelwise genome-wide association analysis (VGWAS), including effcient GWAS for high-dimensional non-imaging phenotypes
- Voxelwise heritability analysis
- Genetic correlation analysis for pairs of voxels
- Cross-trait genetic correlation between voxels and non-imaging phenotypes
- Correction for sample relatedness across voxels (coming soon!)
- Voxelwise rare-variant analysis (coming soon!)
- Correction for sample relatedness across voxels
- Voxelwise rare variant analysis (coding and non-coding variants with various variant categories)

## Version
- [v1.0.0](https://github.com/Zhiwen-Owen-Jiang/heig/releases/tag/v1.0.0): initial version of HEIG.
Expand Down
6 changes: 3 additions & 3 deletions heig.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# os.environ['NUMEXPR_MAX_THREADS'] = '8'
# numexpr.set_num_threads(int(os.environ['NUMEXPR_MAX_THREADS']))

VERSION = "1.2.1"
VERSION = "1.3.0"
MASTHEAD = (
"******************************************************************************\n"
)
Expand Down Expand Up @@ -1188,8 +1188,8 @@ def process_args(args, log):
[int(voxel) - 1 for voxel in ds.parse_input(args.voxels)]
)
except ValueError:
ds.check_existence(args.voxels)
args.voxels = ds.read_voxel(args.voxels)
ds.check_existence(args.voxels[0])
args.voxels = ds.read_voxel(args.voxels[0])
if np.min(args.voxels) <= -1:
raise ValueError("voxel index must be one-based")

Expand Down
Loading

0 comments on commit 5e1fb1c

Please sign in to comment.