correct_barcode: correct_barcode

Description Usage Arguments Examples

Description

It corrects barcodes obtained by sequencing. The capacity of correction of the algorithm is one mismatch maximum.

Usage

1

Arguments

index

Vector of barcodes obtained from sequencing.

Examples

1
2
3
4
5
6
print("Correcting index...")
index=c("GACATTGGG","CCTCTACAA","CATATGTGG","ACTCTCGCT","GTTTTAGGA") 
# correct barcodes are GATATTGGG, CCTCTTCAA, CATATGTGG, ACTCTCTCT, GTTTTAGGG 
corrected_index = correct_barcode(index)
print("done.")
print(paste(corrected_index[[3]],"errors have been corrected within the",corrected_index[[2]], "index list provided"))

magrichard/h4decoder95 documentation built on May 17, 2019, 8:16 a.m.