Skip to content

Commit 395c6d0

Browse files
committed
2 parents 5c601e1 + 985c67d commit 395c6d0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Once installed, Casanovo can be used with a simple command line interface. Run `
1616

1717
- To evaluate _de novo_ sequencing performance of a pre-trained model (peptide annotations are needed for spectra):
1818
```
19-
casanovo --mode=eval --model_path='path/to/pretrained' --test_data_path='path/to/test' --config_path='path/to/config'
19+
casanovo --mode=eval --model_path='path/to/pretrained' --test_data_path='path/to/test/mgf/files/dir' --config_path='path/to/config'
2020
```
2121

22-
- To run _de novo_ sequencing without evaluation (specificy directory path for output csv file with _de novo_ sequences):
22+
- To run _de novo_ sequencing without evaluation (specificy directory path for output csv file with _de novo_ sequences, see `casanovo_sample_output.csv` for a sample output file):
2323
```
24-
casanovo --mode=denovo --model_path='path/to/pretrained' --test_data_path='path/to/test' --config_path='path/to/config' --output_path='path/to/output'
24+
casanovo --mode=denovo --model_path='path/to/pretrained' --test_data_path='path/to/test/mgf/files/dir' --config_path='path/to/config' --output_path='path/to/output'
2525
```
2626

2727
- To train a model from scratch or continue training a pre-trained model:
2828
```
29-
casanovo train --mode=train --model_path='path/to/pretrained' --train_data_path='path/to/train' --val_data_path='path/to/validation' --config_path='path/to/config'
29+
casanovo train --mode=train --model_path='path/to/pretrained' --train_data_path='path/to/train/mgf/files/dir' --val_data_path='path/to/validation/mgf/files/dir' --config_path='path/to/config'
3030
```
3131

3232

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ install_requires =
2525
numpy
2626
pandas
2727
scikit-learn
28-
torch
28+
torch>=1.9
2929
pytorch-lightning
3030
spectrum_utils
3131
click

0 commit comments

Comments
 (0)