You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Implements peptide mutation using empirical substitution probabilities from cancer data.
- Adds interactive and command-line mutation workflows.
- Updates README with usage instructions.
- Cleans up old data files and adds .gitignore.
After generating any set of peptides, you will be prompted to optionally mutate them. You can also apply mutations directly or to an existing FASTA file.
63
+
64
+
**1. Interactive Mutation (After Generation)**
65
+
66
+
Run any generation command, and an interactive prompt will appear:
67
+
68
+
```bash
69
+
python scripts/generation/generate_control_peptides.py --source random --length 8 --count 10
70
+
71
+
...
72
+
73
+
🧬 Would you like to mutate these peptides? (y/n): y
74
+
How many mutations per peptide? (default: 1): 2
75
+
```
76
+
This will create a new file, e.g., `control_peptides_mutated_2x.fasta`.
77
+
78
+
**2. Direct Mutation (With Flags)**
79
+
80
+
Use the `--mutate` and `--mutations` flags to apply mutations automatically:
0 commit comments