Hi,
Thanks for your efforts. I tried a different approach and am still having issues with the extractSequence function.
When I run: SwitchList <- extractSequence(SwitchList, pathToOutput = "/t1-data/xxx/", writeToFile=TRUE, removeShortAAseq = TRUE, removeLongAAseq=TRUE, alsoSplitFastaFile=TRUE),
I receive the following error message:
Error in `$<-.data.frame`(`*tmp*`, "toBeTrimmed", value = FALSE) :
replacement has 1 row, data has 0
In my global environment window, "SwitchList" is listed as a Large switchAnalyzeRlist (12 elements, 342.3 MB). When I type View(SwitchList), it says name: SwitchList, type: Null, and Value: Pairlist of length 0.
I would very much appreciate help on why I am receiving this error message!