Views
No views yet
1git clone https://github.com/LIYUESEN/druggpt.git
2cd druggpt1conda create -n druggpt python=3.7
2conda activate druggpt1pip install datasets transformers scipy scikit-learn
2pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
3conda install -c openbabel openbabel-p | --pro_seq: Input a protein amino acid sequence.-f | --fasta: Input a FASTA file.Only one of -p and -f should be specified.
-l | --ligand_prompt: Input a ligand prompt.-e | --empty_input: Enable directly generate mode.-n | --number: At least how many molecules will be generated.-d | --device: Hardware device to use. Default is 'cuda'.-o | --output: Output directory for generated molecules. Default is './ligand_output/'.-b | --batch_size: How many molecules will be generated per batch. Try to reduce this value if you have low RAM. Default is 32.python drug_generator.py -f bcl2.fasta -n 50python drug_generator.py -p MAKQPSDVSSECDREGRQLQPAERPPQLRPGAPTSLQTEPQGNPEGNHGGEGDSCPHGSPQGPLAPPASPGPFATRSPLFIFMRRSSLLSRSSSGYFSFDTDRSPAPMSCDKSTQTPSPPCQAFNHYLSAMASMRQAEPADMRPEIWIAQELRRIGDEFNAYYARRVFLNNYQAAEDHPRMVILRLLRYIVRLVWRMH -n 50python drug_generator.py -f bcl2.fasta -l COc1ccc(cc1)C(=O) -n 50python drug_generator.py -f bcl2.fasta -l 'COc1ccc(cc1)C(=O)' -n 50