.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. .TH CDBYANK "1" "January 2021" "cdbyank version 1.00" "User Commands" .SH NAME cdbyank \- Query an index file created with cdbfasta. .SH DESCRIPTION .SS "Usage:" .IP cdbyank [\-d ] [\-a |\-n|\-l|\-s] .IP [\-o ] [\-q |\-Q][\-F] [\-R] [\-P] [\-x] [\-w] [\-z .IP is the index file created previously with cdbfasta .IP (usually having a ".cidx" suffix) .HP \fB\-a\fR the sequence name (accession) for a fasta record to be .IP retrieved; if not given, a list of accessions is expected at stdin .HP \fB\-d\fR is the fasta file to pull records from; .IP if not specified, cdbyank will look in the same directory where resides, for a file with the same name but without the ".cidx" suffix .HP \fB\-o\fR the records found are written to file instead of stdout .HP \fB\-x\fR allows retrieval of multiple records per key, if the indexed .IP database had records with the same key (non\-unique keys); (without \fB\-x\fR only one record for a given key is retrieved) .HP \fB\-i\fR case insensitive query (expects the to have been .IP created with cdbfasta \fB\-i\fR option) .HP \fB\-Q\fR output the query key surrounded by character '%' before the .IP corresponding record .HP \fB\-q\fR same as \fB\-Q\fR but use character instead of '%' .HP \fB\-w\fR enable warnings (sent to stderr) when a key is not found .HP \fB\-F\fR pulls only the defline for each record (discard the sequence) .HP \fB\-P\fR only displays the position(s) (file offset) within the .IP database file, for the requested record(s) .HP \fB\-R\fR sequence range extraction: expects the input to have .IP the format: ' ' and pulls only the specified sequence range .HP \fB\-z\fR decompress the entire file .IP (assumes it was built using cdbfasta with '\-z' option) .HP \fB\-v\fR show version number and exit .IP Index file statistics (no database file needed): \fB\-n\fR display the number of records indexed \fB\-l\fR list all keys stored in \fB\-s\fR display indexing summary info .IP