acc_base
string | y
int64 | gc_percent
float64 | weight
float64 |
|---|---|---|---|
GCA_000003135
| 0
| 60.253
| 1
|
GCA_000003645
| 0
| 35.339
| 1
|
GCA_000003925
| 0
| 35.208
| 1
|
GCA_000003955
| 0
| 35.236
| 1
|
GCA_000005825
| 0
| 39.861
| 1
|
GCA_000006155
| 0
| 35.101
| 1
|
GCA_000006605
| 0
| 61.351
| 1
|
GCA_000006625
| 0
| 25.5
| 1
|
GCA_000006665
| 0
| 50.398
| 1
|
GCA_000006685
| 0
| 40.305
| 1
|
GCA_000006725
| 0
| 52.617
| 1
|
GCA_000006745
| 0
| 47.488
| 1
|
GCA_000006785
| 0
| 38.512
| 1
|
GCA_000006805
| 0
| 65.934
| 1
|
GCA_000006825
| 0
| 40.405
| 1
|
GCA_000006845
| 0
| 52.69
| 1
|
GCA_000006885
| 0
| 39.697
| 1
|
GCA_000006905
| 0
| 67.214
| 1
|
GCA_000006925
| 0
| 50.654
| 1
|
GCA_000006945
| 0
| 52.239
| 1
|
GCA_000006965
| 0
| 62.174
| 1
|
GCA_000007005
| 0
| 35.787
| 1
|
GCA_000007025
| 0
| 32.439
| 1
|
GCA_000007045
| 0
| 39.716
| 1
|
GCA_000007085
| 0
| 37.571
| 1
|
GCA_000007105
| 0
| 46.328
| 1
|
GCA_000007125
| 0
| 57.222
| 1
|
GCA_000007145
| 0
| 65.069
| 1
|
GCA_000007185
| 0
| 61.159
| 1
|
GCA_000007205
| 0
| 40.576
| 1
|
GCA_000007225
| 0
| 51.363
| 1
|
GCA_000007245
| 0
| 51.777
| 1
|
GCA_000007285
| 0
| 38.547
| 1
|
GCA_000007305
| 0
| 40.77
| 1
|
GCA_000007325
| 0
| 27.152
| 1
|
GCA_000007345
| 0
| 42.681
| 1
|
GCA_000007385
| 0
| 63.693
| 1
|
GCA_000007405
| 0
| 50.906
| 1
|
GCA_000007425
| 0
| 38.593
| 1
|
GCA_000007445
| 0
| 50.478
| 1
|
GCA_000007465
| 0
| 36.829
| 1
|
GCA_000007505
| 0
| 57.251
| 1
|
GCA_000007525
| 0
| 60.127
| 1
|
GCA_000007545
| 1
| 52.052
| 0.993082
|
GCA_000007585
| 0
| 48.288
| 1
|
GCA_000007605
| 0
| 39.186
| 1
|
GCA_000007625
| 0
| 28.64
| 1
|
GCA_000007645
| 0
| 32.046
| 1
|
GCA_000007685
| 0
| 35.044
| 1
|
GCA_000007705
| 0
| 64.834
| 1
|
GCA_000007725
| 0
| 25.342
| 1
|
GCA_000007745
| 0
| 42.538
| 1
|
GCA_000007785
| 0
| 37.381
| 1
|
GCA_000007805
| 0
| 58.339
| 1
|
GCA_000007825
| 0
| 35.288
| 1
|
GCA_000007845
| 0
| 35.377
| 1
|
GCA_000007885
| 0
| 47.67
| 1
|
GCA_000007905
| 0
| 35.931
| 1
|
GCA_000007925
| 0
| 36.442
| 1
|
GCA_000007945
| 0
| 38.22
| 1
|
GCA_000008005
| 0
| 35.497
| 1
|
GCA_000008025
| 0
| 35.235
| 1
|
GCA_000008045
| 0
| 28.919
| 1
|
GCA_000008065
| 0
| 34.611
| 1
|
GCA_000008105
| 1
| 52.132
| 0.992743
|
GCA_000008125
| 0
| 69.407
| 1
|
GCA_000008145
| 0
| 57.219
| 1
|
GCA_000008165
| 0
| 35.379
| 1
|
GCA_000008205
| 0
| 28.522
| 1
|
GCA_000008225
| 0
| 28.489
| 1
|
GCA_000008245
| 0
| 28.495
| 1
|
GCA_000008265
| 0
| 35.97
| 1
|
GCA_000008285
| 0
| 38.041
| 1
|
GCA_000008325
| 0
| 63.585
| 1
|
GCA_000008345
| 0
| 60.011
| 1
|
GCA_000008365
| 0
| 24.951
| 1
|
GCA_000008385
| 1
| 34.179
| 0.933073
|
GCA_000008425
| 0
| 46.195
| 1
|
GCA_000008445
| 0
| 35.243
| 1
|
GCA_000008465
| 0
| 47.04
| 1
|
GCA_000008485
| 0
| 38.27
| 1
|
GCA_000008525
| 0
| 38.874
| 1
|
GCA_000008545
| 0
| 46.248
| 1
|
GCA_000008565
| 0
| 66.614
| 1
|
GCA_000008585
| 0
| 65.609
| 1
|
GCA_000008625
| 0
| 43.302
| 1
|
GCA_000008645
| 0
| 49.544
| 1
|
GCA_000008665
| 0
| 48.582
| 1
|
GCA_000008685
| 0
| 28.181
| 1
|
GCA_000008745
| 0
| 40.578
| 1
|
GCA_000008765
| 0
| 30.925
| 1
|
GCA_000008785
| 0
| 39.189
| 1
|
GCA_000008805
| 0
| 51.528
| 1
|
GCA_000008885
| 0
| 22.475
| 1
|
GCA_000008925
| 0
| 33.04
| 1
|
GCA_000008945
| 0
| 60.164
| 1
|
GCA_000008985
| 0
| 32.259
| 1
|
GCA_000009025
| 0
| 47.026
| 1
|
GCA_000009045
| 0
| 43.514
| 1
|
GCA_000009065
| 0
| 47.642
| 1
|
End of preview. Expand
in Data Studio
tRNA-based classification model
The dataset contains:
- Generic files used for training the dataset
- Supplementary data used for labeling
- An HTML file with a step-by-step description of the research
- Python scripts used to train the models
- The two best models were selected based on the lowest number of false negatives (FNs) on a third, independent test dataset.
Setup
Download Miniconda and use:
conda env create -f environment.yml
to replicate the working environment.
If any packages are missing during python code execution, install them manually using pip, based on import error messages.
Steps for replication:
- Download supplementary data from https://doi.org/10.7554/eLife.71402
- ftp_urls.txt contains a list of genome download addresses (most of them are available).
- Run full.sh to download genomes and extract features for model training from full dataset, saved as FEATURES_ALL.ndjson (genomes are removed to preserve memory)
- Run 80_20_split_fixed.py on FEATURES_ALL.ndjson together with both supplementary files to perform an automatic stratified 80/20 split, with archaeal and contaminated genomes filtered out.
- Run Mass_models.py on FEATURES_ALL.ndjson, Supp1.csv, Supp2.xlsx
- Run predict_dir.py to generate predictions for all trained models on FASTA genomes. If files provided, annotate predictions with ground truth from the TSV file, and report metrics separately for Isolate and MAG genomes.
Example run settings (All resutls were obtained using seed=42):
python3 80_20_split_fixed.py
--ndjson FEATURE_ALL.ndjson
--supp1 Supp1.csv
--supp2 Supp2.xlsx
--outdir split_dataset
python3 Mass_models.py
--ndjson split_dataset/subset01/
--supp2 Supp2.xlsx
--supp1 Supp1.csv
--outdir .
--train_mode both
--weight_mode both
--model all
--metric all
--n_trials 30
--timeout 5400
python3 predict_models_dir.py \
--genomes_dir /path/to/fasta_dir \
--models_dir results_models \
--outdir predictions
Code and files will be modified and further developed in a packaged container after all required tests and training are completed.
- Downloads last month
- -
