You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fprintf(fp_help, " -d FILE [Strongly recommended to create before mapping] dump index to FILE [].\n");
184
+
fprintf(fp_help, " K-mer (pore) Model:\n");
185
185
fprintf(fp_help, " -p FILE pore model FILE [].\n");
186
186
fprintf(fp_help, " -k INT size of the k-mers in the pore model [%d]. This is usually 6 for R9.4 and 9 for R10\n", ipt.k);
187
+
fprintf(fp_help, " --level_column INT 0-based column index where the mean values are stored in the pore file [%d]. This is usually 1 for both R9.4 and R10\n", ipt.lev_col);
188
+
fprintf(fp_help, "\n Indexing:\n");
189
+
fprintf(fp_help, " -d FILE [Strongly recommended to create before mapping] dump index to FILE [].\n");
190
+
187
191
fprintf(fp_help, " -e INT number of events concatanated in a single hash (usually no larger than 10). Also applies during mapping [%d]\n", ipt.e);
188
192
fprintf(fp_help, " -q INT most significant bits of signal values to process [%d]. Signal values are assumed to be in the IEEE standard for floating-point arithmetic\n", ipt.q);
189
193
fprintf(fp_help, " -l INT least significant bits of the q bits to quantize along with the most signficant 2 bits of the q bits [%d]\n", ipt.lq);
@@ -205,7 +209,7 @@ int main(int argc, char *argv[])
205
209
fprintf(fp_help, " --map-best-ratio FLOAT map the read if the ratio between the best and the second-best chain scores is >= FLOAT [%g]\n", opt.min_bestmap_ratio_out);
206
210
fprintf(fp_help, " --stop-mean-ratio FLOAT stop chain enlongation if the ratio between the best chain score and the mean chain score is >= FLOAT [%g]\n", opt.min_bestmap_ratio);
207
211
fprintf(fp_help, " --map-mean-ratio FLOAT map the read if the ratio between the best chain score and the mean chain score is >= FLOAT [%g]\n", opt.min_meanmap_ratio_out);
208
-
fprintf(fp_help, "\nONT Device:\n");
212
+
fprintf(fp_help, "\nNanopore Parameters:\n");
209
213
fprintf(fp_help, " --bp-per-sec INT DNA molecules transiting through the pore (bp per second) [%u]\n", opt.bp_per_sec);
210
214
fprintf(fp_help, " --sample-rate INT current sample rate in Hz [%u]\n", opt.sample_rate);
211
215
fprintf(fp_help, " --chunk-size INT current samples in a single chunk (by default set to the amount of signals sampled in 1 second) [%u]\n", opt.chunk_size);
@@ -254,17 +258,12 @@ int main(int argc, char *argv[])
254
258
ri_idx_reader_close(idx_rdr);
255
259
return1;
256
260
}elseif(!idx_rdr->is_idx && fpore){
257
-
sigmap::PoreModel pore_model;
258
-
pore_model.Load(std::string(fpore));
259
-
260
-
if(pore_model.GetKmerSize() <= 4){
261
+
load_pore(fpore, ipt.k, ipt.lev_col, &pore_vals);
262
+
if(!pore_vals){
261
263
fprintf(stderr, "[ERROR] cannot parse the k-mer pore model file. Please see the example k-mer model files provided in the rawhash repository.\n");
0 commit comments