Skip to content

Commit

Permalink
pre-make RepeatPeps
Browse files Browse the repository at this point in the history
  • Loading branch information
CSU-KangHu committed Jan 22, 2024
1 parent 05d126d commit 2b4a1d9
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 2 deletions.
Binary file added data/RepeatPeps.lib.pdb
Binary file not shown.
Binary file added data/RepeatPeps.lib.phr
Binary file not shown.
Binary file added data/RepeatPeps.lib.pin
Binary file not shown.
22 changes: 22 additions & 0 deletions data/RepeatPeps.lib.pjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "1.2",
"dbname": "RepeatPeps.lib",
"dbtype": "Protein",
"db-version": 5,
"description": "/home/hukang/NeuralTE/configs/../data/RepeatPeps.lib",
"number-of-letters": 16150283,
"number-of-sequences": 18011,
"last-updated": "2024-01-17T22:35:00",
"number-of-volumes": 1,
"bytes-total": 19568986,
"bytes-to-cache": 16312527,
"files": [
"RepeatPeps.lib.pdb",
"RepeatPeps.lib.phr",
"RepeatPeps.lib.pin",
"RepeatPeps.lib.pot",
"RepeatPeps.lib.psq",
"RepeatPeps.lib.ptf",
"RepeatPeps.lib.pto"
]
}
Binary file added data/RepeatPeps.lib.psq
Binary file not shown.
Binary file added data/RepeatPeps.lib.ptf
Binary file not shown.
Binary file added data/RepeatPeps.lib.pto
Binary file not shown.
4 changes: 2 additions & 2 deletions utils/data_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,8 @@ def get_domain_info(cons, lib, output_table, threads, temp_dir):
os.system('rm -rf ' + temp_dir)
os.makedirs(temp_dir)

blast_db_command = 'makeblastdb -dbtype prot -in ' + lib
os.system(blast_db_command)
# blast_db_command = 'makeblastdb -dbtype prot -in ' + lib
# os.system(blast_db_command)
# 1. Divide the cons, and for each block, use blastx -num_threads 1 -evalue 1e-20 to compare cons with domain.
partitions_num = int(threads)
consensus_contignames, consensus_contigs = read_fasta(cons)
Expand Down

0 comments on commit 2b4a1d9

Please sign in to comment.