Hi, I want to know how to parallelly manipulate CharacterList objects in IRanges package.
For example, for very large list of letters:
ir = successiveIRanges(width=sample(1:26,1000000,replace=T)) dat = relist(sample(letters,sum(width(ir)),replace=T),ir)
For each element of the length-1000000-CharacterList, I want get the setdiff of 26 letters and the members in each element. I try the psetdiff function, however it dosn't work for CompressedCharacterList object. Also, I don't know how to combine two CharacterList objects parallel.
no.letters = psetdiff(letters, dat) ##psetdiff does not work here combined = puion(upper(no.letters),dat) ###try to combine two CharacterList objects.
Any suggestions, thanks.