Specimens
Use ehitk specimens to inspect host and specimen metadata.
Query specimens
ehitk specimens query --host-species "Podarcis muralis"
ehitk specimens query --host-taxid 8509
ehitk specimens query --host-lineage Mammalia --sex Female
ehitk specimens query --weight-min 8 --weight-max 9 --length-min 40 --length-max 41
ehitk specimens query --specimen-id SD00508 --columns specimen_id,host_species,sex
Filters
--specimen-idExact specimen ID.
--host-taxidNCBI host taxon ID. Catalog descendants are included, so higher-level identifiers such as
8509match descendant host species.--host-speciesExact host species name.
--host-lineageExact term matched against
host_species,host_genus,host_family,host_order, andhost_class.--sexExact sex label.
--weight-minand--weight-maxMinimum and maximum recorded specimen weight.
--length-minand--length-maxMinimum and maximum recorded specimen length.
The catalog may store multiple recorded weight or length values per specimen. Range filters match when any recorded value falls inside the requested range.
Summarize specimens
ehitk specimens stats --host-lineage Reptilia
ehitk specimens fields
ehitk specimens values --field host_order
ehitk specimens values --field sex --csv --output-file specimen-sex-values.csv
Available query columns
specimen_id, host_taxid, host_species, host_genus,
host_family, host_order, host_class, weight, length, and
sex.