Comments (8)
I used it to create a mirrored subset of genbank and refseq (archaea, bacteria, fungi, viral, protozoa), and really liked it. I don't have time to make a pull request now, but some blueprints:
genome_updater.sh
supports recovering files from a previously obtained assembly summary file with the-e
option. This is really useful for reproducing how a database was built, and we can stored it somewhere (osf? zenodo?)- Instead of finding all files in a dir, use the
assembly_summary.txt
to select files (from a domain like 'archaea' or 'fungi'). - From previous item: build separate DBs for each domain. This is something that the euk SBTs already do (see https://github.com/dib-lab/2018-euk-SBTs and https://osf.io/a46zr/)
- Another benefit of using the
assembly_summary.txt
: We don't depend onacc2taxid
to get the taxonomy of each dataset. This can also be a mapping generated during database construction, and saved in the zipped SBT (or whatever taxonomy format we end up adopting in sourmash: sourmash-bio/sourmash#969
I think most of these items fit sourmash-bio/sourmash#970 too.
from databases.
cool, I'll look into using it - is there a seed on farm that I can start from, or shall I just re-download the whole shebang?
from databases.
Re-download, I did this in my machine.
from databases.
Very good experience so far --
# make group directory
cd /group/ctbrowngrp
mkdir ncbi-genomes
cd ncbi-genomes
# install genome_updater
13820 conda create -n genupd -y genome_updater
13821 conda activate genupd
# grab all shewanella genomes - dry run
genome_updater.sh -g "taxids:22" -k -m -o shew
# with one thread
genome_updater.sh -g "taxids:22" -m -o shew
# with four threads, + fix directory (-i)
genome_updater.sh -g "taxids:22" -m -o shew -i -t 4
from databases.
Another benefit of using the
assembly_summary.txt
: We don't depend onacc2taxid
to get the taxonomy of each dataset. This can also be a mapping generated during database construction, and saved in the zipped SBT (or whatever taxonomy format we end up adopting in sourmash: dib-lab/sourmash#969
Also: instead of using --name-from-first
, set the --name
based on the assembly_summary.txt
. This gives us better control on the right accession number, or even using the GCF
/GCA
identifiers instead. More info: luizirber/2020-cami#1
from databases.
(yep, that's how the GTDB snakemake does it)
from databases.
note to self, put things in /group/ctbrowngrp/
from databases.
closing in favor of our modern database build practices.
from databases.
Related Issues (10)
- 25k signatures HOT 3
- Building genbank/refseq databases from assembly_summary.txt HOT 1
- build a streamlined Genbank/RefSeq based on GTDB 25k genomes HOT 1
- what should our signature names look like for databases? HOT 2
- upgrade sourmash_databases soon (for sourmash 4.0) HOT 8
- Validation steps for new databases HOT 1
- RefSeq representative genomes
- indexing from file (for sourmash 4.x)
- Please see other repositories and issues!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from databases.