Context:
I want to search for structure matches ONLY for "representative" proteins in the proteome of my species of interest, and I would rather build the searchable database using just these IDs, rather than parse foldseek easy-search results - in other words, avoid post-processing.
Question 1:
After downloading species-specific sharded tar files of AlphaFold2 database, using these instructions, is it possible to supply to foldseek, during the createdb step, a CUSTOM LIST of UniProt IDs that will allow the database to be built ONLY for these user supplied IDs?
The help menu for foldseek createdb has an option each to include or exclude file names using regex, but is it possible to include or exclude file names based on an entire custom list of names that cannot be summarized via regex?
Answering my OWN question:
See earlier post from 2023 Jan 20 at #77
Specifically the syntax in this post by user endixk
awk 'NR == FNR {f[$1] = $1; next} $2 in f {print $1}' subset.txt afdb.lookup > subset.lookup
foldseek createsubdb subset.lookup afdb afdb_subset
foldseek createsubdb subset.lookup afdb_ss afdb_subset_ss
foldseek createsubdb subset.lookup afdb_ca afdb_subset_ca
rm subset.lookup
For my goals
Step 1: foldseek createdb
Step 2: foldseek createsubdb
Step 3: foldseek easy-search / foldseek search
Question 2:
In any foldseek database created using foldseek createdb, how can I count the number of entries (individual proteins) in that database? Is the number of entries used in createdb = number of files in the *.source file?
Expected Behavior
not applicable, all steps execute OK
Current Behavior
not applicable, all steps execute OK
Steps to Reproduce
not applicable, all steps execute OK
Foldseek Output (for bugs)
not applicable, all steps execute OK
Context
Providing context helps us come up with a solution and improve our documentation for the future.
Environment
- Git commit: 2ad0178
- foldseek Version: 2ad017897d3dab66dd33ea675e92215bdfb4a64d, pre-compiled for MacOSX 64-bit
- CPU, amount of system memory: 8 core, 8 GB
- Operating system and version: MacOSX Monterey version 12.6 Apple Mi1 chip, Mac mini
Context:
I want to search for structure matches ONLY for "representative" proteins in the proteome of my species of interest, and I would rather build the searchable database using just these IDs, rather than parse
foldseek easy-searchresults - in other words, avoid post-processing.Question 1:
After downloading species-specific sharded tar files of AlphaFold2 database, using these instructions, is it possible to supply to
foldseek, during thecreatedbstep, a CUSTOM LIST of UniProt IDs that will allow the database to be built ONLY for these user supplied IDs?The help menu for
foldseek createdbhas an option each to include or exclude file names using regex, but is it possible to include or exclude file names based on an entire custom list of names that cannot be summarized via regex?Answering my OWN question:
See earlier post from 2023 Jan 20 at #77
Specifically the syntax in this post by user endixk
For my goals
Question 2:
In any
foldseekdatabase created usingfoldseek createdb, how can I count the number of entries (individual proteins) in that database? Is the number of entries used increatedb= number of files in the*.sourcefile?Expected Behavior
not applicable, all steps execute OK
Current Behavior
not applicable, all steps execute OK
Steps to Reproduce
not applicable, all steps execute OK
Foldseek Output (for bugs)
not applicable, all steps execute OK
Context
Providing context helps us come up with a solution and improve our documentation for the future.
Environment