diploSHIC 1.0.5__tar.gz → 1.0.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {diploSHIC-1.0.5/diploSHIC.egg-info → diploshic-1.0.6}/PKG-INFO +2 -2
- {diploSHIC-1.0.5 → diploshic-1.0.6/diploSHIC.egg-info}/PKG-INFO +2 -2
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploSHIC.egg-info/requires.txt +1 -1
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/diploSHIC +5 -5
- {diploSHIC-1.0.5 → diploshic-1.0.6}/setup.py +2 -2
- {diploSHIC-1.0.5 → diploshic-1.0.6}/LICENSE +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/MANIFEST.in +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/README.md +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploSHIC.egg-info/SOURCES.txt +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploSHIC.egg-info/dependency_links.txt +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploSHIC.egg-info/not-zip-safe +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploSHIC.egg-info/top_level.txt +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/__init__.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/fvTools.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/generateSimLaunchScript.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/makeFeatureVecsForChrArmFromVcfDiploid.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/makeFeatureVecsForChrArmFromVcf_ogSHIC.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/makeFeatureVecsForSingleMsDiploid.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/makeFeatureVecsForSingleMs_ogSHIC.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/makeTrainingSets.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/misc.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/msTools.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/setup.py +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/shicstats.pyf +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/testing/hard.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/testing/linkedHard.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/testing/linkedSoft.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/testing/neut.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/testing/soft.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/training/hard.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/training/linkedHard.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/training/linkedSoft.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/training/neut.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/training/soft.fvec +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/diploshic/utils.c +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/pyproject.toml +0 -0
- {diploSHIC-1.0.5 → diploshic-1.0.6}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: diploSHIC
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.6
|
|
4
4
|
Summary: diploSHIC
|
|
5
5
|
Home-page: https://github.com/kr-colab/diploSHIC
|
|
6
6
|
Author: Andrew Kern
|
|
@@ -14,7 +14,7 @@ Requires-Dist: matplotlib
|
|
|
14
14
|
Requires-Dist: pandas
|
|
15
15
|
Requires-Dist: scikit-allel
|
|
16
16
|
Requires-Dist: scikit-learn
|
|
17
|
-
Requires-Dist: tensorflow
|
|
17
|
+
Requires-Dist: tensorflow==2.15.0
|
|
18
18
|
Requires-Dist: keras
|
|
19
19
|
Provides-Extra: dev
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: diploSHIC
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.6
|
|
4
4
|
Summary: diploSHIC
|
|
5
5
|
Home-page: https://github.com/kr-colab/diploSHIC
|
|
6
6
|
Author: Andrew Kern
|
|
@@ -14,7 +14,7 @@ Requires-Dist: matplotlib
|
|
|
14
14
|
Requires-Dist: pandas
|
|
15
15
|
Requires-Dist: scikit-allel
|
|
16
16
|
Requires-Dist: scikit-learn
|
|
17
|
-
Requires-Dist: tensorflow
|
|
17
|
+
Requires-Dist: tensorflow==2.15.0
|
|
18
18
|
Requires-Dist: keras
|
|
19
19
|
Provides-Extra: dev
|
|
20
20
|
|
|
@@ -321,7 +321,7 @@ if argsDict["mode"] in ["train", "predict"]:
|
|
|
321
321
|
from keras.layers import Dense, Dropout, Activation, Flatten, Input
|
|
322
322
|
from keras.layers import Conv2D, MaxPooling2D, concatenate
|
|
323
323
|
from sklearn.model_selection import train_test_split
|
|
324
|
-
from keras.preprocessing.image import ImageDataGenerator
|
|
324
|
+
from tensorflow.keras.preprocessing.image import ImageDataGenerator
|
|
325
325
|
from keras.callbacks import EarlyStopping, ModelCheckpoint
|
|
326
326
|
import keras.backend as K
|
|
327
327
|
import fnmatch
|
|
@@ -495,7 +495,7 @@ if argsDict["mode"] == "train":
|
|
|
495
495
|
model_json = model.to_json()
|
|
496
496
|
with open(outputModel + ".json", "w") as json_file:
|
|
497
497
|
json_file.write(model_json)
|
|
498
|
-
modWeightsFilepath = outputModel + ".weights.
|
|
498
|
+
modWeightsFilepath = outputModel + ".weights.h5"
|
|
499
499
|
checkpoint = ModelCheckpoint(
|
|
500
500
|
modWeightsFilepath,
|
|
501
501
|
monitor="val_accuracy",
|
|
@@ -514,16 +514,16 @@ if argsDict["mode"] == "train":
|
|
|
514
514
|
start = time.time()
|
|
515
515
|
model.fit(
|
|
516
516
|
datagen.flow(X_train, Y_train, batch_size=32),
|
|
517
|
-
steps_per_epoch=len(X_train) / 32,
|
|
517
|
+
steps_per_epoch=int(len(X_train) / 32),
|
|
518
518
|
epochs=epochOption,
|
|
519
519
|
verbose=1,
|
|
520
520
|
callbacks=callbacks_list,
|
|
521
521
|
validation_data=validation_gen.flow(X_valid, Y_valid, batch_size=32),
|
|
522
|
-
validation_steps=len(X_test) / 32,
|
|
522
|
+
validation_steps=int(len(X_test) / 32),
|
|
523
523
|
)
|
|
524
524
|
# model.fit(X_train, Y_train, batch_size=32, epochs=100,validation_data=(X_test,Y_test),callbacks=callbacks_list, verbose=1)
|
|
525
525
|
score = model.evaluate(
|
|
526
|
-
test_gen.flow(X_test, Y_test, batch_size=32), steps=len(Y_test) / 32
|
|
526
|
+
test_gen.flow(X_test, Y_test, batch_size=32), steps=int(len(Y_test) / 32)
|
|
527
527
|
)
|
|
528
528
|
sys.stderr.write(
|
|
529
529
|
"total time spent fitting and evaluating: %f secs\n"
|
|
@@ -9,7 +9,7 @@ shic_stats = Extension("diploshic.shicstats",
|
|
|
9
9
|
"diploshic/utils.c"],
|
|
10
10
|
)
|
|
11
11
|
setup(name='diploSHIC',
|
|
12
|
-
version='1.0.
|
|
12
|
+
version='1.0.6',
|
|
13
13
|
description='diploSHIC',
|
|
14
14
|
long_description=long_description,
|
|
15
15
|
long_description_content_type="text/markdown",
|
|
@@ -24,7 +24,7 @@ setup(name='diploSHIC',
|
|
|
24
24
|
'pandas',
|
|
25
25
|
'scikit-allel',
|
|
26
26
|
'scikit-learn',
|
|
27
|
-
'tensorflow',
|
|
27
|
+
'tensorflow==2.15.0',
|
|
28
28
|
'keras'],
|
|
29
29
|
scripts=['diploshic/diploSHIC',
|
|
30
30
|
'diploshic/makeFeatureVecsForChrArmFromVcfDiploid.py',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|