-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Structural changes for Pypi * Replace auto config creation with 'variantconvert init' and implement shortened config paths * Fully implement shortened local paths * Remove unneeded build libraries * AnnotSV: deal with empy Samples_ID column cells * AnnotSV: add default absent genotype if bed-based * AnnotSV: Overhaul split annots management. Make it optional and change it from monolithic annots to one split annot per line * Exclude __init__.py * WIP - annotSV format and info fields * WIP - annotSV format and info fields * AnnotSV: numerous INFO field fixes * Propagate config changes * Fix 'invalid identifiers' (columns with dashes) missing from df.itertuples() output * Move helper_functions.py * Remove POS/END/SVLEN changes on split annot, let users use tx data themselves * Fix bugs, reimplement keep_info and flags, remove two legacy funcs * AnnotSV: Change INFO types in config now that it is possible * Fix #28 and put all REF in caps lock * Fix rounding bug, update AnnotSV tests * black * Remove the need for --inputFormat and --outputFormat args by including them in config * Update readme regarding config * Apply markdownlint * Cleanup * Major changes incl. AnnotSV updates * Propagate config changes * Fix imports * AnnotSV: use pipes in preexisting lists * Update README
- Loading branch information
1 parent
b7ff5ab
commit 7942ddf
Showing
105 changed files
with
5,449 additions
and
2,168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
VERSION=$$(grep '__version__ =' src/variantconvert/__init__.py | cut -d '"' -f2) | ||
|
||
# use run like this: | ||
# $(make run) -args -for --variantconvert | ||
# otherwise makefile thinks args are for itself | ||
run: | ||
@echo python src/variantconvert/__main__.py | ||
|
||
#other routines don't need args and can be used normally | ||
build: | ||
python -m build | ||
|
||
pypi: | ||
python -m twine upload --repository testpypi dist/variantconvert-$(VERSION)*; | ||
|
||
install: | ||
python -m build | ||
pip install dist/variantconvert-$(VERSION).tar.gz | ||
variantconvert init | ||
|
||
#a current issue I'm trying to fix | ||
debug: | ||
python src/variantconvert/__main__.py convert -i tests/data/DECON.results_all.AnnotSV.tsv -o decon_annotsv_test.vcf -c src/variantconvert/configs/hg19/annotsv3_from_vcf.json -v debug |
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
Oops, something went wrong.