Uses the uShuffle library to shuffle reads

shuffle(reads, k = 2, n = 2)

Arguments

reads

An object of BStringSet.

k

the k-let size.

n

the number of random sequences to generate.

Value

An object of BStringSet.

Examples

f <- system.file("extdata", "test.fa", package="uShuffleR") shuffle(f)
#> DNAStringSet object of length 2: #> width seq names #> [1] 32 ACAGATGGTTCAAGGTCGATCTTTAGTTAGGC read1_shuffle_1 #> [2] 32 AGTTTGAGTTACAGGGTAGGCTTCATCGAATC read1_shuffle_2