debase 0.1.6__py3-none-any.whl → 0.1.7__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.
debase/_version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Version information."""
2
2
 
3
- __version__ = "0.1.6"
3
+ __version__ = "0.1.7"
@@ -1944,7 +1944,13 @@ def _merge_lineage_and_sequences(
1944
1944
  df = pd.merge(df_lin, df_seq, on="variant_id", how="left")
1945
1945
 
1946
1946
  # 2a. If we have unmatched sequences and a model, use Gemini to match them
1947
+ log.info(f"Model available: {model is not None}, Sequences found: {len(df_seq)}")
1947
1948
  if model and len(df_seq) > 0:
1949
+ # Log initial state
1950
+ log.info(f"Merge attempt: {len(df_lin)} lineage entries, {len(df_seq)} sequences")
1951
+ log.info(f"Lineage IDs: {df_lin['variant_id'].tolist()[:5]}...")
1952
+ log.info(f"Sequence IDs: {df_seq['variant_id'].tolist()[:5]}...")
1953
+
1948
1954
  # Find lineage entries without sequences
1949
1955
  missing_seq = df['aa_seq'].isna() & df['dna_seq'].isna()
1950
1956
  unmatched_lineage = df[missing_seq]['variant_id'].tolist()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: debase
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Enzyme lineage analysis and sequence extraction package
5
5
  Home-page: https://github.com/YuemingLong/DEBase
6
6
  Author: DEBase Team
@@ -1,17 +1,17 @@
1
1
  debase/PIPELINE_FLOW.md,sha256=S4nQyZlX39-Bchw1gQWPK60sHiFpB1eWHqo5GR9oTY8,4741
2
2
  debase/__init__.py,sha256=YeKveGj_8fwuu5ozoK2mUU86so_FjiCwsvg1d_lYVZU,586
3
3
  debase/__main__.py,sha256=LbxYt2x9TG5Ced7LpzzX_8gkWyXeZSlVHzqHfqAiPwQ,160
4
- debase/_version.py,sha256=0-ypEiBe2kUuZ71tMon-TVN7tQNbXA_-yM2NzlyMWuk,49
4
+ debase/_version.py,sha256=vPJKuOkG3cFKZEVbwdNnidjitp6bll8M7nfNUPqx6YA,49
5
5
  debase/build_db.py,sha256=bW574GxsL1BJtDwM19urLbciPcejLzfraXZPpzm09FQ,7167
6
6
  debase/cleanup_sequence.py,sha256=QyhUqvTBVFTGM7ebAHmP3tif3Jq-8hvoLApYwAJtpH4,32702
7
- debase/enzyme_lineage_extractor.py,sha256=_kVsuOXOR8qhrOIy3mKNJuac3joK6goke628nAJoj88,94183
7
+ debase/enzyme_lineage_extractor.py,sha256=7RWogFelrFcwAUup1MgJuiozjEbBc3ri2F2UV3eTEig,94544
8
8
  debase/lineage_format.py,sha256=mACni9M1RXA_1tIyDZJpStQoutd_HLG2qQMAORTusZs,30045
9
9
  debase/reaction_info_extractor.py,sha256=6wWj4IyUNSugNjxpwMGjABSAp68yHABaz_7ZRjh9GEk,112162
10
10
  debase/substrate_scope_extractor.py,sha256=dbve8q3K7ggA3A6EwB-KK9L19BnMNgPZMZ05G937dSY,82262
11
11
  debase/wrapper.py,sha256=lTx375a57EVuXcZ_roXaj5UDj8HjRcb5ViNaSgPN4Ik,10352
12
- debase-0.1.6.dist-info/licenses/LICENSE,sha256=5sk9_tcNmr1r2iMIUAiioBo7wo38u8BrPlO7f0seqgE,1075
13
- debase-0.1.6.dist-info/METADATA,sha256=mLzMY4LQx3SoOsirAiKhcqMofiMZ_D7jjB68ohUplFI,10789
14
- debase-0.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- debase-0.1.6.dist-info/entry_points.txt,sha256=hUcxA1b4xORu-HHBFTe9u2KTdbxPzt0dwz95_6JNe9M,48
16
- debase-0.1.6.dist-info/top_level.txt,sha256=2BUeq-4kmQr0Rhl06AnRzmmZNs8WzBRK9OcJehkcdk8,7
17
- debase-0.1.6.dist-info/RECORD,,
12
+ debase-0.1.7.dist-info/licenses/LICENSE,sha256=5sk9_tcNmr1r2iMIUAiioBo7wo38u8BrPlO7f0seqgE,1075
13
+ debase-0.1.7.dist-info/METADATA,sha256=Dj6i6WqC3QFJxXZyPQT7e27Aq8Hrrclu-44KadmYQJ0,10789
14
+ debase-0.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ debase-0.1.7.dist-info/entry_points.txt,sha256=hUcxA1b4xORu-HHBFTe9u2KTdbxPzt0dwz95_6JNe9M,48
16
+ debase-0.1.7.dist-info/top_level.txt,sha256=2BUeq-4kmQr0Rhl06AnRzmmZNs8WzBRK9OcJehkcdk8,7
17
+ debase-0.1.7.dist-info/RECORD,,
File without changes