Asset registry paths
Each asset is defined by four components:
- genome name
- asset name
- tag name
- seek key
All refgenie commands require a genome name, and most also require an asset name. Tag and seek keys are used only when needed and otherwise use sensible defaults.
The most convenient way to provide this information on the command line is with an asset registry path, which take this form:
genome/asset.seek_key:tagFor example, hg38/fasta.fai:default. Yes, that’s a lot of typing if you want to be explicit, but refgenie makes usage of asset registry paths easy with a system of defaults, such that all the commands below return the same path:
$ refgenie seek rCRSd/fastapath/to/genomes/archive/rCRSd/fasta/default/rCRSd.fa
$ refgenie seek rCRSd/fasta.fastapath/to/genomes/archive/rCRSd/fasta/default/rCRSd.fa
$ refgenie seek rCRSd/fasta.fasta:defaultpath/to/genomes/archive/rCRSd/fasta/default/rCRSd.faHow did it work?
- default tag is determined by
default_tagpointer in the config - seek_key defaults to the name of the asset
Using arguments instead of registry paths
Section titled “Using arguments instead of registry paths”Alternatively, you can specify all of these namespace components as command line arguments:
refgenie seek -g rCRSd -a fasta -t defaultOne advantage of this approach is that it allows you to refer to multiple assets belonging to the same genome.