Description Usage Arguments Details Value Author(s) References See Also Examples
Compare k-mer sets
1 | kmr_compare(in_files, cmp, ci = 2, cx = 1e+09, cs = 255)
|
in_files |
list of named file paths. The names are to be used in the comparison string. |
cmp |
a list containing a single named string with the kmer operations using the file short names. |
ci |
integer; min k cutoff value; default 2. |
cx |
integer; max k cutoff value; default 1e9. |
cs |
integer; max k count value; default 255. |
The in_files list strings may contain parameter values for each in_file after the path.
Shorthand operator definitions: * intersect - subtract ~ counters_subtract + union
Highest priority: *. All other operators have equal priority.
Counter calculation modes are available for the oerators: *, ~, +. They are: min, max, diff, sum, left, right
out_file
Reinhard Simon
Kokot M, Dlugosz M, Deorowicz S. KMC 3: counting and manipulating k-mer statistics. Bioinformatics. 2017 Sep 1;33(17):2759-61.
Other kmer_help:
kmr_length_fasta()
,
kmr_map_kmers()
,
kmr_plot_map()
,
kmr_plot_response()
,
kmr_position_coverage()
,
kmr_response()
,
kmr_scan_k_min()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | if (interactive()) {
fa <- system.file("testdata/phix174-pe_w_err_5k_30q.fastq.gz",
package = "kmerize"
)
fm <- system.file("testdata/phix174_m-pe_w_err_5k_30q.fastq.gz",
package = "kmerize"
)
k <- 9
tmd <- tempdir()
if (!dir.exists(tmd)) dir.create(tmd)
out_fx <- file.path(tmd, "phx")
out_fm <- file.path(tmd, "phm")
kmr_count(fa, out_fx, k = k, f = "q")
kmr_count(fm, out_fm, k = k, f = "q")
cmp_xy <- file.path(tmd, "cmp_xy")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.