Skip to content

Asset registry paths

An asset registry path names one asset, or one file inside it, on the command line:

Terminal window
genome/asset_group.seek_key:asset
PartMeaningIf you leave it out
genomeA genome alias, such as hg38Required (or pass --genome-digest instead)
asset_groupThe group of related assets, such as fasta or bowtie2_indexRequired
seek_keyOne file or value inside the asset, such as faiThe asset's default seek key
assetThe asset's name within the group, such as default or 2.5.4The group's default asset

The default seek key is the asset's only path seek key, or, if it has several, the one with the same name as the asset group. The group's default asset is the one you built most recently, or, if you only pulled, the first one you pulled.

These commands all return the same path:

Terminal window
$ refgenie seek rCRSd/fasta
/path/to/genomes/alias/rCRSd/fasta/default/rCRSd.fa
$ refgenie seek rCRSd/fasta.fasta
/path/to/genomes/alias/rCRSd/fasta/default/rCRSd.fa
$ refgenie seek rCRSd/fasta.fasta:default
/path/to/genomes/alias/rCRSd/fasta/default/rCRSd.fa

In files that refgenie populate reads, write the path with a refgenie:// prefix, as in refgenie://hg38/fasta. See Populate.