geney 1.1.19__py2.py3-none-any.whl → 1.2.1__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of geney might be problematic. Click here for more details.

geney/config_setup.py CHANGED
@@ -3,9 +3,9 @@ import json
3
3
  from pathlib import Path
4
4
 
5
5
  def get_config():
6
- config_file = os.path.join(os.path.expanduser('~'), '.oncosplice_setup', 'config.json')
6
+ config_file = os.path.join(os.path.expanduser('~'), '.oncosplice_setup_1_2', 'config.json')
7
7
  if Path(config_file).exists():
8
- config_setup = {k: Path(p) for k, p in json.loads(open(config_file).read()).items()}
8
+ config_setup = {k: {k_in: Path(p_in) for k_in, p_in in p.items()} for k, p in json.loads(open(config_file).read()).items()}
9
9
 
10
10
  else:
11
11
  print("Database not set up.")
geney/data_setup.py CHANGED
@@ -135,7 +135,7 @@ def retrieve_and_parse_ensembl_annotations(local_path, annotations_file, cons_da
135
135
  biotype_path.mkdir()
136
136
 
137
137
  gene_attribute = gene_attribute.squeeze()
138
- file_name = biotype_path / f'mrnas_{gene_id}_{gene_attribute.gene_name}.pkl'
138
+ file_name = biotype_path / f'mrnas_{gene_id}_{gene_attribute.gene_name.upper()}.pkl'
139
139
  if file_name.exists():
140
140
  continue
141
141
 
@@ -202,7 +202,7 @@ def write_sequence(output_directory, header, sequence):
202
202
 
203
203
 
204
204
  def main():
205
- config_dir = Path(os.path.join(os.path.expanduser('~'), '.oncosplice_setup_new'))
205
+ config_dir = Path(os.path.join(os.path.expanduser('~'), '.oncosplice_setup_1_2'))
206
206
  # if config_dir.exists():
207
207
  # for file in config_dir.glob('*'):
208
208
  # file.unlink()
@@ -289,7 +289,8 @@ def main():
289
289
  splicing_path.mkdir(parents=True)
290
290
 
291
291
  fasta_file.unlink()
292
- gtex_file.unlink()
292
+ if gtex_file:
293
+ gtex_file.unlink()
293
294
  ensembl_file.unlink()
294
295
  cons_file.unlink()
295
296
  print(f"Finished mounding database in {args.basepath}.")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geney
3
- Version: 1.1.19
3
+ Version: 1.2.1
4
4
  Summary: A Python package for gene expression modeling.
5
5
  Home-page: https://github.com/nicolaslynn/geney
6
6
  Author: Nicolas Lynn
@@ -3,8 +3,8 @@ geney/Gene.py,sha256=abHnvZ4ytbjQmoBtrbsX5G0QAspm06NqZBINkjHgPog,10140
3
3
  geney/__init__.py,sha256=r-Yvpo_Tc236DcsqsFyexT21iVoYCVl9zoJj5pFuWEE,407
4
4
  geney/benchmark_clinvar.py,sha256=LLl77e95Qbg9Kd-m2yL8ilmzubSz9SKogeARwssT4Ks,5532
5
5
  geney/compare_sets.py,sha256=TcgL57V7BUPxBoW9lv3xr8qK2Acmykn85Ev3avicQr8,2977
6
- geney/config_setup.py,sha256=SePeooA4RWAtR_KAT1-W1hkD3MT5tH6YMyp80t_RNPQ,385
7
- geney/data_setup.py,sha256=AdeagKvwNEwkkjXReUZ5etgBwm0x3vCqmdsfs09QeDU,12022
6
+ geney/config_setup.py,sha256=VA6mhVGMRadwlpEx4m1wrssmDM8qpfKT21MAijIwjyQ,428
7
+ geney/data_setup.py,sha256=mV_sSCMT8C41q_PD_G34MIBvsBKA0Czrpw17-DcYmT4,12052
8
8
  geney/gtex.py,sha256=asL2lHyU5KsbWpV096vkf1Ka7hSo_RRfZqw7p5nERmE,1919
9
9
  geney/gtex_utils.py,sha256=asL2lHyU5KsbWpV096vkf1Ka7hSo_RRfZqw7p5nERmE,1919
10
10
  geney/immune_utils.py,sha256=ZRni5ttrhpYBnmNr0d0ZatIbNPYs4nmQuoUO00SpsS4,5271
@@ -45,7 +45,7 @@ geney/translation_initiation/resources/kozak_pssm.json,sha256=pcd0Olziutq-6H3mFW
45
45
  geney/translation_initiation/resources/tis_regressor_model.joblib,sha256=IXb4DUDhJ5rBDKcqMk9zE3ECTZZcdj7Jixz3KpoZ7OA,2592025
46
46
  geney/translation_termination/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  geney/translation_termination/tts_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
- geney-1.1.19.dist-info/METADATA,sha256=exY4KdtXuhuA8Bol9FN1bkprgX-EiWubjd0TPUkL7U4,1199
49
- geney-1.1.19.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
50
- geney-1.1.19.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
51
- geney-1.1.19.dist-info/RECORD,,
48
+ geney-1.2.1.dist-info/METADATA,sha256=HgySFYXNAhqjuBEJU8_I5oSKq2Rf6v-0hNIQmaqKbEE,1198
49
+ geney-1.2.1.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
50
+ geney-1.2.1.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
51
+ geney-1.2.1.dist-info/RECORD,,
File without changes