I get an error when storing a large string in DNAString. Is there a limit on the length of the string that can be stored.
library("Biostrings")
DNA_BASES
DNA_ALPHABET
d <- DNAString("CGTCTCGCGTCTGGGAACGGCCGGGCCCCCAGCGGGCTGTGGTCGCGGGGTGGGGGCCGGAGCGGCGAGGCCCCCCTTACCGGGCTGCGCGGGCCGCCCAGGGCCCCCGGGCTGAGACGGGGCCGGAGCGGCGCCCCGGCCGCCCGCGCGGGGTCTCCCCCATGGTGCAGCGGGGTTCGGGATGTCGAAGACGCTGAAGAAGAAGAAGCACTGGCTCAGCAAGGTGCAGGAGTGCGCCGTGTCCTGGGCCGGGCCCCCGGGCGACTTCGGCGCGGAGATCCGCGGTGGCGCGGAGCGTGGCGAGTTCCCCTACCTGGGGCGGCTCCGCGAGGAGCCCGGCGGGGGCACCTGCTGCGTCGTCTCGGGCAAGGCGCCCAGCCCAGGCGATGTGCTGCTGGAGGTAAACGGGACGCCTGTCAGCGGGCTCACCAACCGGGACACCCTGGCTGTCATCCGCCACTTCCGCGAGCCCATCCGTCTCAAGACTGTGAAACCAGGCAAAGTCATTAATAAAGATTTGCGGCATTACCTAAGTCTTCAGTTTCAAAAAGGATCAATTGACCACAAACTGCAGCAAGTGATCAGAGATAATCTCTACTTGAGAACCATTCCATGCACTACAAGGGCCCCCAGGGATGGAGAAGTACCAGGAGTGGATTATAATTTCATTTCCGTTGAACAGTTCAAAGCACTGGAAGAGAGTGGAGCATTGTTAGAAAGTGGGACATATGATGGAAACTTCTATGGAACTCCCAAGCCTCCAGCAGAACCCAGCCCTTTTCAGCCAGATCCAGTTGATCAAGTCCTCTTTGATAATGAGTTTGATGCAGAATCTCAAAGAAAACGAACGACATCTGTCAGCAAGATGGAAAGAATGGATAGCTCTCTTCCTGAAGAGGAAGAAGATGAGGACAAGGAAGCTATTAATGGCAGTGGAAACGCAGAAAACAGAGAGAGGCATTCTGAGTCATCTGACTGGATGAAGACTGTTCCAAGTTACAACCAAACAAATAGCTCCATGGACTTTAGAAATTATATGATGAGAGATGAGACTCTGGAACCACTGCCCAAAAACTGGGAAATGGCCTACACTGACACAGGGATGATCTACTTCATTGACCACAATACCAAGACAACCACCTGGTTGGATCCTCGTCTTTGTAAGAAAGCCAAAGCCCCTGAAGACTGTGAAGATGGAGAGCTTCCTTATGGCTGGGAGAAAATAGAGGACCCTCAGTATGGGACATACTATGTTGATCACCTTAACCAGAAAACCCAGTTTGAAAATCCAGTGGAGGAAGCCAAAAGGAAAAAGCAGTTAGGACAGGTTGAAATTGGGTCTTCAAAACCAGATATGGAAAAATCACACTTCACAAGAGATCCATCCCAGCTTAAAGGTGTCCTTGTTCGAGCATCACTGAAAAAAAGCACAATGGGATTTGGTTTTACTATTATTGGTGGAGATAGACCTGATGAGTTCCTACAAGTGAAAAATGTGCTGAAAGATGGTCCCGCAGCTCAGGATGGGAAAATTGCACCAGGCGATGTTATTGTAGACATCAATGGCAACTGTGTCCTCGGTCACACTCATGCAGATGTTGTCCAGATGTTTCAATTGGTACCTGTCAATCAGTATGTAAACCTCACTTTATGTCGTGGTTATCCACTTCCTGATGACAGTGAAGATCCTGTTGTGGACATTGTTGCTGCTACCCCTGTCATCAATGGACAGTCATTAACCAAGGGAGAGACTTGCATGAATCCTCAGGATTTTAAGCCAGGAGCAATGGTTCTGGAGCAGAATGGAAAATCGGGACACACTTTGACTGGTGATGGTCTCAATGGACCATCAGATGCAAGTGAGCAGAGAGTATCCATGGCATCGTCAGGCAGCTCCCAGCCTGAACTAGTGACTATCCCTTTGATTAAGGGCCCTAAAGGGTTTGGGTTTGCAATTGCTGACAGCCCTACTGGACAGAAGGTGAAAATGATACTGGATAGTCAGTGGTGTCAAGGCCTTCAGAAAGGAGATATAATTAAGGAAATATACCATCAAAATGTGCAGAATTTAACACATCTCCAAGTGGTAGAGGTGCTAAAGCAGTTTCCAGTAGGTGCTGATGTACCATTGCTTATCTTAAGAGGAGGTCCTCCTTCACCAACCAAAACTGCCAAAATGAAAACAGATAAAAAGGAAAATGCAGGAAGTTTGGAGGCCATAAATGAGCCTATTCCTCAGCCTATGCCTTTTCCACCGAGCATTATCAGGTCAGGATCCCCAAAATTGGATCCTTCTGAGGTCTACCTGAAATCTAAGACTTTATATGAAGATAAACCACCAAACACCAAAGATTTGGATGTTTTTCTTCGAAAACAAGAGTCAGGGTTTGGCTTCAGGGTGCTAGGAGGAGATGGACCTGACCAGTCTATATATATTGGGGCTATTATTCCCCTGGGAGCAGCTGAGAAAGATGGTCGGCTCCGCGCAGCTGATGAACTAATGTGCATTGATGGAATTCCTGTTAAAGGGAAATCACACAAACAAGTCTTGGACCTCATGACAACTGCTGCTCGAAATGGCCATGTGTTACTAACTGTCAGACGGAAGATCTTCTATGGAGAAAAACAACCCGAGGACGACAGCTCTCAGGCCTTCATTTCAACACAGAATGGATCTCCCCGCCTGAACCGGGCAGAGGTCCCAGCCAGGCCTGCACCCCAGGAGCCCTATGATGTTGTCTTGCAACGAAAAGAAAATGAAGGATTTGGCTTTGTCATCCTCACCTCCAAAAACAAACCACCTCCAGGAGTTATTCCTCATAAAATTGGCCGAGTCATAGAAGGAAGTCCGGCTGACCGCTGTGGAAAACTGAAAGTTGGAGATCATATCTCTGCAGTGAATGGGCAGTCCATTGTTGAACTGTCTCATGATAACATTGTTCAGCTGATCAAAGATGCTGGTGTCACCGTCACACTAACGGTCATTGCTGAAGAAGAGCATCATGGTCCACCATCAGGAACAAACTCAGCCAGGCAAAGCCCAGCCCTGCAGCACAGGCCCATGGGACAGTCACAGGCCAACCACATACCTGGGGACAGAAGTGCCCTAGAAGGTGAAATTGGAAAAGATGTCTCCACTTCTTACAGACATTCTTGGTCAGACCACAAGCACCTTGCACAGCCTGACACCGCAGTAATTTCAGTTGTAGGCAGTCGGCACAATCAGAACCTTGGTTGTTATCCAGTAGAGCTGGAGAGAGGCCCCCGGGGCTTTGGATTCAGCCTCCGAGGGGGGAAGGAGTACAACATGGGGCTGTTCATCCTTCGTCTTGCTGAAGATGGTCCTGCCATCAAAGATGGCAGAATTCATGTTGGTGACCAGATTGTTGAAATCAATGGGGAACCTACACAAGGAATCACACATACTCGAGCAATTGAGCTCATTCAGGCTGGTGGAAATAAAGTTCTTCTTCTTTTGAGGCCAGGAACTGGCTTGATACCTGACCATGGTGATTGGGATATTAATAATCCTTCGTCTTCAAATGTGATTTATGATGAACAGTCACCATTACCCCCATCTTCACATTTTGCTTCCATATTTGAAGAGTCTCACGTGCCAGTAATTGAAGAATCTTTGAGAGTTCAGATATGTGAAAAGGCAGAAGAATTAAAGGACATTGTGCCTGAAAAGAAAAGCACTTTAAATGAAAATCAGCCTGAGATAAAGCATCAGTCTCTTCTCCAGAAAAATGTGAGTAAGAGGGATCCACCCAGCAGTCATGGGCACAGTAACAAGAAAAATCTATTAAAAGTAGAAAATGGTGTTACACGAAGAGGTAGATCGGTTAGTCCCAAAAAGCCAGCCAGTCAACATTCAGAGGAACATTTGGATAAGATTCCTAGTCCTCTAAAAAATAACCCCAAAAGAAGACCCAGAGATCAATCCCTCAGCCCCAGCAAAGGGGAAAATAAAAGTTGTCAGGTCAGCACCAGGGCAGGCTCTGGACAAGATCAGTGCAGAAAAAGCAGAGGTCGGTCGGCCAGCCCAAAAAAGCAGCAAAAAATTGAAGGAAGCA")
alphabet(d, baseOnly=TRUE)
alphabetFrequency(d)
works
but adding one extra nucleotide fails
library("Biostrings")
DNA_BASES
DNA_ALPHABET
d <- DNAString("CGTCTCGCGTCTGGGAACGGCCGGGCCCCCAGCGGGCTGTGGTCGCGGGGTGGGGGCCGGAGCGGCGAGGCCCCCCTTACCGGGCTGCGCGGGCCGCCCAGGGCCCCCGGGCTGAGACGGGGCCGGAGCGGCGCCCCGGCCGCCCGCGCGGGGTCTCCCCCATGGTGCAGCGGGGTTCGGGATGTCGAAGACGCTGAAGAAGAAGAAGCACTGGCTCAGCAAGGTGCAGGAGTGCGCCGTGTCCTGGGCCGGGCCCCCGGGCGACTTCGGCGCGGAGATCCGCGGTGGCGCGGAGCGTGGCGAGTTCCCCTACCTGGGGCGGCTCCGCGAGGAGCCCGGCGGGGGCACCTGCTGCGTCGTCTCGGGCAAGGCGCCCAGCCCAGGCGATGTGCTGCTGGAGGTAAACGGGACGCCTGTCAGCGGGCTCACCAACCGGGACACCCTGGCTGTCATCCGCCACTTCCGCGAGCCCATCCGTCTCAAGACTGTGAAACCAGGCAAAGTCATTAATAAAGATTTGCGGCATTACCTAAGTCTTCAGTTTCAAAAAGGATCAATTGACCACAAACTGCAGCAAGTGATCAGAGATAATCTCTACTTGAGAACCATTCCATGCACTACAAGGGCCCCCAGGGATGGAGAAGTACCAGGAGTGGATTATAATTTCATTTCCGTTGAACAGTTCAAAGCACTGGAAGAGAGTGGAGCATTGTTAGAAAGTGGGACATATGATGGAAACTTCTATGGAACTCCCAAGCCTCCAGCAGAACCCAGCCCTTTTCAGCCAGATCCAGTTGATCAAGTCCTCTTTGATAATGAGTTTGATGCAGAATCTCAAAGAAAACGAACGACATCTGTCAGCAAGATGGAAAGAATGGATAGCTCTCTTCCTGAAGAGGAAGAAGATGAGGACAAGGAAGCTATTAATGGCAGTGGAAACGCAGAAAACAGAGAGAGGCATTCTGAGTCATCTGACTGGATGAAGACTGTTCCAAGTTACAACCAAACAAATAGCTCCATGGACTTTAGAAATTATATGATGAGAGATGAGACTCTGGAACCACTGCCCAAAAACTGGGAAATGGCCTACACTGACACAGGGATGATCTACTTCATTGACCACAATACCAAGACAACCACCTGGTTGGATCCTCGTCTTTGTAAGAAAGCCAAAGCCCCTGAAGACTGTGAAGATGGAGAGCTTCCTTATGGCTGGGAGAAAATAGAGGACCCTCAGTATGGGACATACTATGTTGATCACCTTAACCAGAAAACCCAGTTTGAAAATCCAGTGGAGGAAGCCAAAAGGAAAAAGCAGTTAGGACAGGTTGAAATTGGGTCTTCAAAACCAGATATGGAAAAATCACACTTCACAAGAGATCCATCCCAGCTTAAAGGTGTCCTTGTTCGAGCATCACTGAAAAAAAGCACAATGGGATTTGGTTTTACTATTATTGGTGGAGATAGACCTGATGAGTTCCTACAAGTGAAAAATGTGCTGAAAGATGGTCCCGCAGCTCAGGATGGGAAAATTGCACCAGGCGATGTTATTGTAGACATCAATGGCAACTGTGTCCTCGGTCACACTCATGCAGATGTTGTCCAGATGTTTCAATTGGTACCTGTCAATCAGTATGTAAACCTCACTTTATGTCGTGGTTATCCACTTCCTGATGACAGTGAAGATCCTGTTGTGGACATTGTTGCTGCTACCCCTGTCATCAATGGACAGTCATTAACCAAGGGAGAGACTTGCATGAATCCTCAGGATTTTAAGCCAGGAGCAATGGTTCTGGAGCAGAATGGAAAATCGGGACACACTTTGACTGGTGATGGTCTCAATGGACCATCAGATGCAAGTGAGCAGAGAGTATCCATGGCATCGTCAGGCAGCTCCCAGCCTGAACTAGTGACTATCCCTTTGATTAAGGGCCCTAAAGGGTTTGGGTTTGCAATTGCTGACAGCCCTACTGGACAGAAGGTGAAAATGATACTGGATAGTCAGTGGTGTCAAGGCCTTCAGAAAGGAGATATAATTAAGGAAATATACCATCAAAATGTGCAGAATTTAACACATCTCCAAGTGGTAGAGGTGCTAAAGCAGTTTCCAGTAGGTGCTGATGTACCATTGCTTATCTTAAGAGGAGGTCCTCCTTCACCAACCAAAACTGCCAAAATGAAAACAGATAAAAAGGAAAATGCAGGAAGTTTGGAGGCCATAAATGAGCCTATTCCTCAGCCTATGCCTTTTCCACCGAGCATTATCAGGTCAGGATCCCCAAAATTGGATCCTTCTGAGGTCTACCTGAAATCTAAGACTTTATATGAAGATAAACCACCAAACACCAAAGATTTGGATGTTTTTCTTCGAAAACAAGAGTCAGGGTTTGGCTTCAGGGTGCTAGGAGGAGATGGACCTGACCAGTCTATATATATTGGGGCTATTATTCCCCTGGGAGCAGCTGAGAAAGATGGTCGGCTCCGCGCAGCTGATGAACTAATGTGCATTGATGGAATTCCTGTTAAAGGGAAATCACACAAACAAGTCTTGGACCTCATGACAACTGCTGCTCGAAATGGCCATGTGTTACTAACTGTCAGACGGAAGATCTTCTATGGAGAAAAACAACCCGAGGACGACAGCTCTCAGGCCTTCATTTCAACACAGAATGGATCTCCCCGCCTGAACCGGGCAGAGGTCCCAGCCAGGCCTGCACCCCAGGAGCCCTATGATGTTGTCTTGCAACGAAAAGAAAATGAAGGATTTGGCTTTGTCATCCTCACCTCCAAAAACAAACCACCTCCAGGAGTTATTCCTCATAAAATTGGCCGAGTCATAGAAGGAAGTCCGGCTGACCGCTGTGGAAAACTGAAAGTTGGAGATCATATCTCTGCAGTGAATGGGCAGTCCATTGTTGAACTGTCTCATGATAACATTGTTCAGCTGATCAAAGATGCTGGTGTCACCGTCACACTAACGGTCATTGCTGAAGAAGAGCATCATGGTCCACCATCAGGAACAAACTCAGCCAGGCAAAGCCCAGCCCTGCAGCACAGGCCCATGGGACAGTCACAGGCCAACCACATACCTGGGGACAGAAGTGCCCTAGAAGGTGAAATTGGAAAAGATGTCTCCACTTCTTACAGACATTCTTGGTCAGACCACAAGCACCTTGCACAGCCTGACACCGCAGTAATTTCAGTTGTAGGCAGTCGGCACAATCAGAACCTTGGTTGTTATCCAGTAGAGCTGGAGAGAGGCCCCCGGGGCTTTGGATTCAGCCTCCGAGGGGGGAAGGAGTACAACATGGGGCTGTTCATCCTTCGTCTTGCTGAAGATGGTCCTGCCATCAAAGATGGCAGAATTCATGTTGGTGACCAGATTGTTGAAATCAATGGGGAACCTACACAAGGAATCACACATACTCGAGCAATTGAGCTCATTCAGGCTGGTGGAAATAAAGTTCTTCTTCTTTTGAGGCCAGGAACTGGCTTGATACCTGACCATGGTGATTGGGATATTAATAATCCTTCGTCTTCAAATGTGATTTATGATGAACAGTCACCATTACCCCCATCTTCACATTTTGCTTCCATATTTGAAGAGTCTCACGTGCCAGTAATTGAAGAATCTTTGAGAGTTCAGATATGTGAAAAGGCAGAAGAATTAAAGGACATTGTGCCTGAAAAGAAAAGCACTTTAAATGAAAATCAGCCTGAGATAAAGCATCAGTCTCTTCTCCAGAAAAATGTGAGTAAGAGGGATCCACCCAGCAGTCATGGGCACAGTAACAAGAAAAATCTATTAAAAGTAGAAAATGGTGTTACACGAAGAGGTAGATCGGTTAGTCCCAAAAAGCCAGCCAGTCAACATTCAGAGGAACATTTGGATAAGATTCCTAGTCCTCTAAAAAATAACCCCAAAAGAAGACCCAGAGATCAATCCCTCAGCCCCAGCAAAGGGGAAAATAAAAGTTGTCAGGTCAGCACCAGGGCAGGCTCTGGACAAGATCAGTGCAGAAAAAGCAGAGGTCGGTCGGCCAGCCCAAAAAAGCAGCAAAAAATTGAAGGAAGCAT")
alphabet(d, baseOnly=TRUE)
alphabetFrequency(d)
Any Ideas