selex.defineSample(seqName='R0.libraries', seqFile=sampleFiles[1],
sampleName='R0.barcodeGC', round=0, varLength=16,
leftBarcode='TGG', rightBarcode='CCAGCTG')
selex.saveAnnotation(paste0(workDir, "sample_annotations.xml"))
Run the code above in your browser using DataLab