125 "S:-C5H8O4-HPO3-H2S",
152 "X:-C5H8O4-HPO3-H2S",
171 "U:+C5H9N1-H3PO4-H2O",
178 "G:+C5H9N1-H3PO4-H2O",
181 "G:+C5H9N1-NH3-HPO3",
182 "G:+C5H9N1-NH3-H3PO4",
189 "C:+C5H9N1-H3PO4-H2O",
192 "C:+C5H9N1-NH3-HPO3",
193 "C:+C5H9N1-NH3-H3PO4",
201 "A:+C5H9N1-NH3-HPO3",
202 "A:+C5H9N1-NH3-H3PO4" 220 "U:+C4H6O2-H3PO4-H2O",
227 "G:+C4H6O2-H3PO4-H2O",
230 "G:+C4H602-NH3-HPO3",
231 "G:+C4H6O2-NH3-H3PO4",
238 "C:+C4H6O2-H3PO4-H2O",
241 "C:+C4H602-NH3-HPO3",
242 "C:+C4H6O2-NH3-H3PO4",
250 "A:+C4H6O2-NH3-HPO3",
251 "A:+C4H6O2-NH3-H3PO4" 437 "T:+C4H6O2-H3PO4-H2O",
444 "G:+C4H6O2-H3PO4-H2O",
447 "G:+C4H6O2-NH3-HPO3",
448 "G:+C4H6O2-NH3-H3PO4",
455 "C:+C4H6O2-H3PO4-H2O",
458 "C:+C4H6O2-NH3-HPO3",
459 "C:+C4H6O2-NH3-H3PO4",
467 "A:+C4H6O2-NH3-HPO3",
468 "A:+C4H6O2-NH3-H3PO4",
493 "T:+C5H9N1-H3PO4-H2O",
500 "G:+C5H9N1-H3PO4-H2O",
503 "G:+C5H9N1-NH3-HPO3",
504 "G:+C5H9N1-NH3-H3PO4",
511 "C:+C5H9N1-H3PO4-H2O",
513 "C:+C5H9N1-NH3-HPO3",
515 "C:+C5H9N1-NH3-H3PO4",
522 "A:+C5H9N1-NH3-HPO3",
524 "A:+C5H9N1-NH3-H3PO4",
543 "U:C9H11N2O8P1;U-H2O",
544 "U:C9H12N2O6;U-HPO3",
545 "U:C9H10N2O5;U-H3PO4",
551 "C:C9H11N2O8P;C-NH3",
552 "C:C9H12N3O7P;C-H2O",
553 "C:C9H9N2O7P;C-NH3-H2O",
554 "C:C9H13N3O5;C-HPO3",
555 "C:C9H11N3O4;C-H3PO4",
556 "C:C9H10N2O5;C-NH3-HPO3",
557 "C:C9H8N2O4;C-NH3-H3PO4",
564 "G:C10H12N5O7P;G-H2O",
565 "G:C10H11N4O8P;G-NH3",
566 "G:C10H9N4O7P;G-NH3-H2O",
567 "G:C10H13N5O5;G-HPO3",
568 "G:C10H11N5O4;G-H3PO4",
569 "G:C10H10N4O5;G-NH3-HPO3",
570 "G:C10H8N4O4;G-NH3-H3PO4",
575 "A:C10H12N5O6P;A-H2O",
576 "A:C10H11N4O7P;A-NH3",
577 "A:C10H9N4O6P;A-NH3-H2O",
578 "A:C10H13N5O4;A-HPO3",
579 "A:C10H11N5O3;A-H3PO4",
580 "A:C10H10N5O4;A-NH3-HPO3",
581 "A:C10H8N5O3;A-NH3-H3PO4" 587 "S:C9H10N2O5;tU-H2S",
588 "S:C4H2N2O1;tU'-H2S",
594 "U:C9H11N2O8P1;U-H2O",
595 "U:C9H12N2O6;U-HPO3",
596 "U:C9H10N2O5;U-H3PO4",
602 "C:C9H11N2O8P;C-NH3",
603 "C:C9H12N3O7P;C-H2O",
604 "C:C9H9N2O7P;C-NH3-H2O",
605 "C:C9H13N3O5;C-HPO3",
606 "C:C9H11N3O4;C-H3PO4",
607 "C:C9H10N2O5;C-NH3-HPO3",
608 "C:C9H8N2O4;C-NH3-H3PO4",
614 "G:C10H12N5O7P;G-H2O",
615 "G:C10H11N4O8P;G-NH3",
616 "G:C10H9N4O7P;G-NH3-H2O",
617 "G:C10H13N5O5;G-HPO3",
618 "G:C10H11N5O4;G-H3PO4",
619 "G:C10H10N4O5;G-NH3-HPO3",
620 "G:C10H8N4O4;G-NH3-H3PO4",
625 "A:C10H12N5O6P;A-H2O",
626 "A:C10H11N4O7P;A-NH3",
627 "A:C10H9N4O6P;A-NH3-H2O",
628 "A:C10H13N5O4;A-HPO3",
629 "A:C10H11N5O3;A-H3PO4",
630 "A:C10H10N5O4;A-NH3-HPO3",
631 "A:C10H8N5O3;A-NH3-H3PO4" 636 "X:C10H11N5O4;tG-H2S",
643 "U:C9H11N2O8P1;U-H2O",
644 "U:C9H12N2O6;U-HPO3",
645 "U:C9H10N2O5;U-H3PO4",
651 "C:C9H11N2O8P;C-NH3",
652 "C:C9H12N3O7P;C-H2O",
653 "C:C9H9N2O7P;C-NH3-H2O",
654 "C:C9H13N3O5;C-HPO3",
655 "C:C9H11N3O4;C-H3PO4",
656 "C:C9H10N2O5;C-NH3-HPO3",
657 "C:C9H8N2O4;C-NH3-H3PO4",
663 "G:C10H12N5O7P;G-H2O",
664 "G:C10H11N4O8P;G-NH3",
665 "G:C10H9N4O7P;G-NH3-H2O",
666 "G:C10H13N5O5;G-HPO3",
667 "G:C10H11N5O4;G-H3PO4",
668 "G:C10H10N4O5;G-NH3-HPO3",
669 "G:C10H8N4O4;G-NH3-H3PO4",
674 "A:C10H12N5O6P;A-H2O",
675 "A:C10H11N4O7P;A-NH3",
676 "A:C10H9N4O6P;A-NH3-H2O",
677 "A:C10H13N5O4;A-HPO3",
678 "A:C10H11N5O3;A-H3PO4",
679 "A:C10H10N5O4;A-NH3-HPO3",
680 "A:C10H8N5O3;A-NH3-H3PO4" 689 "T:C10H13N2O7P;T-H2O",
690 "T:C10H14N2O5;T-HPO3",
691 "T:C10H12N2O4;T-H3PO4",
694 "C:C9H11N2O7P;C-NH3",
695 "C:C9H12N3O6P;C-H2O",
696 "C:C9H9N2O6P;C-NH3-H2O",
697 "C:C9H13N3O4;C-HPO3",
698 "C:C9H11N3O3;C-H3PO4",
699 "C:C9H10N2O4;C-NH3-HPO3",
700 "C:C9H8N2O3;C-NH3-H3PO4",
706 "G:C10H12N5O6P;G-H2O",
707 "G:C10H11N4O7P;G-NH3",
708 "G:C10H9N4O6P;G-NH3-H2O",
709 "G:C10H13N5O4;G-HPO3",
710 "G:C10H10N4O4;G-NH3-HPO3",
711 "G:C10H11N5O3;G-H3PO4",
712 "G:C10H8N4O3;G-NH3-H3PO4",
718 "A:C10H12N5O5P;A-H2O",
719 "A:C10H11N4O6P;A-NH3",
720 "A:C10H9N4O5P;A-NH3-H2O",
721 "A:C10H13N5O3;A-HPO3",
722 "A:C10H11N5O2;A-H3PO4",
723 "A:C10H10N5O3;A-NH3-HPO3",
724 "A:C10H8N5O2;A-NH3-H3PO4",
730 "d:C5H7O5P;C5H9O6P-H2O",
731 "d:C5H8O3;C5H9O6P-HPO3",
732 "d:C5H6O2;C5H9O6P-H3PO4" 741 "U:C8H10N2O4;DEB+U'",
742 "U:C8H8N2O3;DEB+U'-H2O",
743 "U:C13H19N2O11P1;DEB+U",
744 "U:C13H17N2O10P1;DEB+U-H2O",
745 "U:C13H18N2O8;DEB+U-HPO3",
746 "U:C13H16N2O7;DEB+U-H3PO4",
750 "G:C9H11N5O3;DEB+G'",
751 "G:C8H9N5O3;DEB+G'-H2O",
752 "G:C9H8N4O3;DEB+G'-NH3",
753 "G:C14H20N5O10P1;DEB+G",
754 "G:C14H18N5O9P1;DEB+G-H2O",
755 "G:C14H17N4O10P1;DEB+G-NH3",
756 "G:C14H19N5O7;DEB+G-HPO3",
757 "G:C14H17N5O6;DEB+G-H3PO4",
758 "G:C14H16N4O7;DEB+G-NH3-HPO3",
759 "G:C14H14N4O6;DEB+G-NH3-H3PO4",
760 "G:C14H15N4O9P1;DEB+G-NH3-H2O",
764 "C:C8H11N3O3;DEB+C'",
765 "C:C8H9N3O2;DEB+C'-H2O",
766 "C:C8H8N2O3;DEB+C'-NH3",
767 "C:C13H20N3O10P1;DEB+C",
768 "C:C13H18N3O9P1;DEB+C-H2O",
769 "C:C13H17N2O10P1;DEB+C-NH3",
770 "C:C13H19N3O7;DEB+C-HPO3",
771 "C:C13H17N3O6;DEB+C-H3PO4",
772 "C:C13H16N2O7;DEB+C-NH3-HPO3",
773 "C:C13H14N2O6;DEB+C-NH3-H3PO4",
774 "C:C13H15N2O9P1;DEB+C-NH3-H2O",
778 "A:C9H11N5O2;DEB+A'",
779 "A:C9H17N4O;DEB+A'-NH3",
780 "A:C14H20N5O9P1;DEB+A",
781 "A:C14H18N5O8P1;DEB+A-H2O",
782 "A:C14H17N4O9P1;DEB+A-NH3",
783 "A:C14H19N5O6;DEB+A-HPO3",
784 "A:C14H17N5O5;DEB+A-H3PO4",
785 "A:C14H16N4O6;DEB+A-NH3-HPO3",
786 "A:C14H14N4O5;DEB+A-NH3-H3PO4",
787 "A:C14H15N4O8P1;DEB+A-NH3-H2O" 795 "T:C9H12N2O4;DEB+T'",
796 "T:C9H10N2O3;DEB+T'-H2O",
797 "T:C14H21N2O10P1;DEB+T",
798 "T:C14H19N2O9P1;DEB+T-H2O",
799 "T:C14H20N2O7;DEB+T-HPO3",
800 "T:C14H18N2O6;DEB+T-H3PO4",
804 "C:C8H11N3O3;DEB+C'",
805 "C:C8H8N2O3;DEB+C'-NH3",
806 "C:C8H9N3O2;DEB+C'-H2O",
807 "C:C13H20N3O9P1;DEB+C",
808 "C:C13H17N2O9P1;DEB+C-NH3",
809 "C:C13H18N3O8P1;DEB+C-H2O",
810 "C:C13H19N3O6;DEB+C-HPO3",
811 "C:C13H17N3O5;DEB+C-H3PO4",
812 "C:C13H16N2O6;DEB+C-NH3-HPO3",
813 "C:C13H14N2O5;DEB+C-NH3-H3PO4",
814 "C:C13H15N2O8P1;DEB+C-NH3-H2O",
818 "G:C9H11N5O3;DEB+G'",
819 "G:C9H8N4O3;DEB+G'-NH3",
820 "G:C9H9N5O2;DEB+G'-H2O",
821 "G:C14H20N5O9P1;DEB+G",
822 "G:C14H17N4O9P1;DEB+G-NH3",
823 "G:C14H18N5O8P1;DEB+G-H2O",
824 "G:C14H19N5O6;DEB+G-HPO3",
825 "G:C14H17N5O5;DEB+G-H3PO4",
826 "G:C14H16N4O6;DEB+G-NH3-HPO3",
827 "G:C14H14N4O5;DEB+G-NH3-H3PO4",
828 "G:C14H15N4O8P1;DEB+G-NH3-H2O",
832 "A:C9H11N5O2;DEB+A'",
833 "A:C9H8N4O2;DEB+A'-NH3",
834 "A:C14H20N5O8P1;DEB+A",
835 "A:C14H17N4O8P1;DEB+A-NH3",
836 "A:C14H18N5O7P1;DEB+A-H2O",
837 "A:C14H19N5O5;DEB+A-HPO3",
838 "A:C14H17N5O4;DEB+A-H3PO4",
839 "A:C14H16N4O5;DEB+A-NH3-HPO3",
840 "A:C14H14N4O4;DEB+A-NH3-H3PO4",
841 "A:C14H15N4O7P1;DEB+A-NH3-H2O",
844 "d:C5H7O5P;C5H9O6P-H2O",
845 "d:C5H8O3;C5H9O6P-HPO3",
846 "d:C5H6O2;C5H9O6P-H3PO4" 854 "U:C14H22N3O9P1;NM+U",
855 "U:C14H20N3O8P1;NM+U-H2O",
856 "U:C14H21N3O6;NM+U-HPO3",
857 "U:C14H19N3O5;NM+U-H3PO4",
859 "U:C9H11N3O1;NM+U'-H2O",
862 "C:C14H23N4O8P1;NM+C",
863 "C:C14H21N4O7P1;NM+C-H2O",
864 "C:C14H20N3O8P1;NM+C-NH3",
865 "C:C14H22N4O5;NM+C-HPO3",
866 "C:C14H20N4O4;NM+C-H3PO4",
867 "C:C14H19N3O5;NM+C-NH3-HPO3",
868 "C:C14H17N3O4;NM+C-NH3-H3PO4",
870 "C:C9H12N4;NM+C'-H2O",
871 "C:C9H11N3O1;NM+C'-NH3",
872 "C:C14H18N3O7P1;NM+C-NH3-H2O",
875 "G:C15H23N6O8P1;NM+G",
876 "G:C15H21N6O7P1;NM+G-H2O",
877 "G:C15H20N5O8P1;NM+G-NH3",
878 "G:C15H22N6O5;NM+G-HPO3",
879 "G:C15H20N6O4;NM+G-H3PO4",
880 "G:C15H19N5O5;NM+G-NH3-HPO3",
881 "G:C15H17N5O4;NM+G-NH3-H3PO4",
882 "G:C10H14N6O1;NM+G'",
883 "G:C10H12N6;NM+G'-H2O",
884 "G:C10H14N6O1;NM+G'-NH3",
885 "G:C15H18N5O7P1;NM+G-NH3-H2O",
888 "A:C15H23N6O7P1;NM+A",
889 "A:C15H21N6O6P1;NM+A-H2O",
890 "A:C15H20N5O7P1;NM+A-NH3",
891 "A:C15H22N6O4;NM+A-HPO3",
892 "A:C15H20N6O3;NM+A-H3PO4",
893 "A:C15H19N5O4;NM+A-NH3-HPO3",
894 "A:C15H17N5O3;NM+A-NH3-H3PO4",
896 "A:C10H11N5;NM+A'-NH3",
897 "A:C15H18N5O6P1;NM+A-NH3-H2O" 906 "U:C9H11N2O8P1;U-H2O",
907 "U:C9H12N2O6;U-HPO3",
908 "U:C9H10N2O5;U-H3PO4",
914 "G:C11H14N5O8P;G+FA",
915 "G:C11H12N5O7P;G+FA-H2O",
916 "G:C11H11N5O4;G+FA-H3PO4",
917 "G:C11H13N5O5;G+FA-HPO3",
919 "G:C12H14N5O8P;G+2FA",
920 "G:C12H12N5O7P;G+2FA-H2O",
921 "G:C12H11N5O4;G+2FA-H3PO4",
922 "G:C12H13N5O5;G+2FA-HPO3",
928 "C:C10H14N3O8P;C+FA",
929 "C:C10H13N3O5;C+FA-HPO3",
930 "C:C10H12N3O7P;C+FA-H2O",
931 "C:C10H11N3O4;C+FA-H3PO4",
933 "C:C11H14N3O8P;C+2FA",
934 "C:C11H13N3O5;C+2FA-HPO3",
935 "C:C11H12N3O7P;C+2FA-H2O",
936 "C:C11H11N3O4;C+2FA-H3PO4",
942 "A:C11H14N5O7P;A+FA",
943 "A:C11H13N5O4;A+FA-HPO3",
944 "A:C11H12N5O6P;A+FA-H2O",
945 "A:C11H11N5O3;A+FA-H3PO4",
947 "A:C12H14N5O7P;A+2FA",
948 "A:C12H13N5O4;A+2FA-HPO3",
949 "A:C12H12N5O6P;A+2FA-H2O",
950 "A:C12H11N5O3;A+2FA-H3PO4" 958 "T:C10H13N2O7P1;T-H2O",
959 "T:C10H12N2O4;T-HPO3",
960 "T:C10H10N2O3;T-H3PO4",
966 "G:C11H14N5O7P;G+FA",
967 "G:C11H13N5O4;G+FA-HPO3",
968 "G:C11H12N5O6P;G+FA-H2O",
969 "G:C11H11N5O3;G+FA-H3PO4",
971 "G:C12H14N5O7P;G+2FA",
972 "G:C12H13N5O4;G+2FA-HPO3",
973 "G:C12H12N5O6P;G+2FA-H2O",
974 "G:C12H11N5O3;G+2FA-H3PO4",
980 "C:C10H14N3O7P;C+FA",
981 "C:C10H13N3O4;C+FA-HPO3",
982 "C:C10H12N3O6P;C+FA-H2O",
983 "C:C10H11N3O3;C+FA-H3PO4",
985 "C:C11H14N3O7P;C+2FA",
986 "C:C11H13N3O4;C+2FA-HPO3",
987 "C:C11H12N3O6P;C+2FA-H2O",
988 "C:C11H11N3O3;C+2FA-H3PO4",
994 "A:C11H14N5O6P;A+FA",
995 "A:C11H13N5O3;A+FA-HPO3",
996 "A:C11H12N5O5P;A+FA-H2O",
997 "A:C11H11N5O2;A+FA-H3PO4",
999 "A:C12H14N5O6P;A+2FA",
1000 "A:C12H13N5O3;A+2FA-HPO3",
1001 "A:C12H12N5O5P;A+2FA-H2O",
1002 "A:C12H11N5O2;A+2FA-H3PO4",
1004 "d:C5H9O6P;C5H9O6P",
1005 "d:C5H7O5P;C5H9O6P-H2O",
1006 "d:C5H8O3;C5H9O6P-HPO3",
1007 "d:C5H6O2;C5H9O6P-H3PO4" 1014 "T:C15H24N3O8P1;NM+T",
1015 "T:C15H22N3O7P1;NM+T-H2O",
1016 "T:C15H23N3O5;NM+T-HPO3",
1017 "T:C15H21N3O4;NM+T-H3PO4",
1018 "T:C10H15N3O2;NM+T'",
1019 "T:C10H13N3O1;NM+T'-H2O",
1022 "C:C9H14N4O1;NM+C'",
1023 "C:C9H11N3O1;NM+C'-NH3",
1024 "C:C9H12N4;NM+C'-H2O",
1025 "C:C14H23N4O7P1;NM+C",
1026 "C:C14H21N4O6P1;NM+C-H2O",
1027 "C:C14H20N3O7P1;NM+C-NH3",
1028 "C:C14H18N3O6P1;NM+C-NH3-H2O",
1029 "C:C14H20N4O3;NM+C-H3PO4",
1030 "C:C14H22N4O4;NM+C-HPO3",
1031 "C:C14H19N3O4;NM+C-NH3-HPO3",
1032 "C:C14H17N3O3;NM+C-NH3-H3PO4",
1035 "G:C10H14N6O1;NM+G'",
1036 "G:C10H12N6;NM+G'-H2O",
1037 "G:C10H11N5O1;NM+G'-NH3",
1038 "G:C15H23N6O7P1;NM+G",
1039 "G:C15H21N6O6P1;NM+G-H2O",
1040 "G:C15H22N6O4;NM+G-HPO3",
1041 "G:C15H20N6O3;NM+G-H3PO4",
1042 "G:C15H20N5O7P1;NM+G-NH3",
1043 "G:C15H18N5O6P1;NM+G-NH3-H2O",
1044 "G:C15H19N5O4;NM+G-NH3-HPO3",
1045 "G:C15H17N5O3;NM+G-NH3-H3PO4",
1049 "A:C10H11N5;NM+A'-NH3",
1050 "A:C15H23N6O6P1;NM+A",
1051 "A:C15H20N6O2;NM+A-H3PO4",
1052 "A:C15H21N6O5P1;NM+A-H2O",
1053 "A:C15H22N6O3;NM+A-HPO3",
1054 "A:C15H20N5O6P1;NM+A-NH3",
1055 "A:C15H18N5O5P1;NM+A-NH3-H2O",
1056 "A:C15H19N5O3;NM+A-NH3-HPO3",
1057 "A:C15H17N5O2;NM+A-NH3-H3PO4",
1059 "d:C5H9O6P;C5H9O6P",
1060 "d:C5H7O5P;C5H9O6P-H2O",
1061 "d:C5H8O3;C5H9O6P-HPO3",
1062 "d:C5H6O2;C5H9O6P-H3PO4" 1066 static constexpr std::array<const char*, 5>
DNA_nucleotides {
"A=C10H14N5O6P",
"C=C9H14N3O7P",
"G=C10H14N5O7P",
"T=C10H15N2O8P",
"d=C5H9O6P"};
1067 static constexpr std::array<const char*, 4>
RNA_nucleotides {
"A=C10H14N5O7P",
"C=C9H14N3O8P",
"G=C10H14N5O8P",
"U=C9H13N2O9P"};
1068 static constexpr std::array<const char*, 5>
DNA_mapping {
"A->A",
"C->C",
"G->G",
"T->T",
"d->d"};
1069 static constexpr std::array<const char*, 4>
RNA_mapping {
"A->A",
"C->C",
"G->G",
"U->U"};
1075 "RNA-UV Extended (U)",
1076 "RNA-UV Extended (UCGA)",
1078 "RNA-UV Extended (4SU)",
1080 "RNA-UV Extended (6SG)",
1108 if (
auto it = find(names.begin(), names.end(), p); it == names.end())
1110 throw std::runtime_error(
"Error: unknown preset.");
1170 const String RNA_U =
"U";
1171 const String RNA_UCGA =
"UCGA";
1172 const String DNA_TCGAd =
"TCGAd";
1173 const String RNA_CGA =
"CGA";
1174 const String DNA_CGAd =
"CGAd";
1177 if (p ==
"RNA-UV (U)" || p ==
"RNA-UV (UCGA)")
1179 modifications = RNA_UV_modifications;
1180 fragment_adducts = RNA_UV_fragments;
1181 can_cross_link = (p ==
"RNA-UV (U)") ? RNA_U : RNA_UCGA;
1184 else if (p ==
"RNA-UV Extended (U)" || p ==
"RNA-UV Extended (UCGA)")
1186 modifications = RNA_UV_EXTENDED_modifications;
1187 fragment_adducts = RNA_UV_fragments;
1188 can_cross_link = (p ==
"RNA-UV Extended (U)") ? RNA_U : RNA_UCGA ;
1191 else if (p ==
"RNA-UV (4SU)")
1193 nucleotides.push_back(
"S=C9H13N2O8PS");
1194 mapping.push_back(
"S->S");
1195 modifications = RNA_UV_4SU_modifications;
1196 fragment_adducts = RNA_UV_4SU_fragments;
1197 can_cross_link =
"S";
1200 else if (p ==
"RNA-UV Extended (4SU)")
1202 nucleotides.push_back(
"S=C9H13N2O8PS");
1203 mapping.push_back(
"S->S");
1204 modifications = RNA_UV_4SU_EXTENDED_modifications;
1205 fragment_adducts = RNA_UV_4SU_fragments;
1206 can_cross_link =
"S";
1209 else if (p ==
"RNA-UV (6SG)")
1211 nucleotides.push_back(
"X=C10H14N5O7PS");
1212 mapping.push_back(
"X->X");
1213 modifications = RNA_UV_6SG_modifications;
1214 fragment_adducts = RNA_UV_6SG_fragments;
1215 can_cross_link =
"X";
1218 else if (p ==
"RNA-UV Extended (6SG)")
1220 nucleotides.push_back(
"X=C10H14N5O7PS");
1221 mapping.push_back(
"X->X");
1222 modifications = RNA_UV_6SG_EXTENDED_modifications;
1223 fragment_adducts = RNA_UV_6SG_fragments;
1224 can_cross_link =
"X";
1227 else if (p ==
"DNA-UV")
1229 modifications = DNA_UV_modifications;
1230 fragment_adducts = DNA_UV_fragments;
1231 can_cross_link = DNA_TCGAd;
1234 else if (p ==
"DNA-UV Extended")
1236 modifications = DNA_UV_EXTENDED_modifications;
1237 fragment_adducts = DNA_UV_fragments;
1238 can_cross_link = DNA_TCGAd;
1241 else if (p ==
"RNA-FA")
1243 modifications = RNA_FA_modifications;
1244 fragment_adducts = RNA_FA_fragments;
1245 can_cross_link = RNA_CGA;
1248 else if (p ==
"RNA-FA Extended")
1250 modifications = RNA_FA_EXTENDED_modifications;
1251 fragment_adducts = RNA_FA_fragments;
1252 can_cross_link = RNA_CGA;
1255 else if (p ==
"DNA-FA")
1257 modifications = DNA_FA_modifications;
1258 fragment_adducts = DNA_FA_fragments;
1259 can_cross_link = DNA_CGAd;
1262 else if (p ==
"DNA-FA Extended")
1264 modifications = DNA_FA_EXTENDED_modifications;
1265 fragment_adducts = DNA_FA_fragments;
1266 can_cross_link = DNA_CGAd;
1269 else if (p ==
"RNA-DEB")
1275 modifications = RNA_DEB_modifications;
1276 fragment_adducts = RNA_DEB_fragments;
1277 can_cross_link = RNA_UCGA;
1280 else if (p ==
"RNA-DEB Extended")
1286 modifications = RNA_DEB_EXTENDED_modifications;
1287 fragment_adducts = RNA_DEB_fragments;
1288 can_cross_link = RNA_UCGA;
1291 else if (p ==
"RNA-NM")
1297 modifications = RNA_NM_modifications;
1298 fragment_adducts = RNA_NM_fragments;
1299 can_cross_link = RNA_UCGA;
1302 else if (p ==
"RNA-NM Extended")
1308 modifications = RNA_NM_EXTENDED_modifications;
1309 fragment_adducts = RNA_NM_fragments;
1310 can_cross_link = RNA_UCGA;
1313 else if (p ==
"DNA-DEB")
1315 modifications = DNA_DEB_modifications;
1316 fragment_adducts = DNA_DEB_fragments;
1317 can_cross_link = DNA_TCGAd;
1320 else if (p ==
"DNA-DEB Extended")
1322 modifications = DNA_DEB_EXTENDED_modifications;
1323 fragment_adducts = DNA_DEB_fragments;
1324 can_cross_link = DNA_TCGAd;
1327 else if (p ==
"DNA-NM")
1329 modifications = DNA_NM_modifications;
1330 fragment_adducts = DNA_NM_fragments;
1331 can_cross_link = DNA_TCGAd;
1334 else if (p ==
"DNA-NM Extended")
1336 modifications = DNA_NM_EXTENDED_modifications;
1337 fragment_adducts = DNA_NM_fragments;
1338 can_cross_link = DNA_TCGAd;
static constexpr std::array< const char *, 41 > fragments_RNA_UV_6SG
Definition: NuXLPresets.h:635
static constexpr std::array< const char *, 6 > modifications_DNA_DEB
Definition: NuXLPresets.h:420
A more convenient string class.
Definition: String.h:58
static constexpr std::array< const char *, 24 > modifications_RNA_FA_EXTENDED
Definition: NuXLPresets.h:273
static constexpr std::array< const char *, 12 > modifications_DNA_UV
Definition: NuXLPresets.h:360
static constexpr std::array< const char *, 4 > modifications_RNA_NM
Definition: NuXLPresets.h:157
static constexpr std::array< const char *, 34 > modifications_RNA_DEB_EXTENDED
Definition: NuXLPresets.h:214
static constexpr std::array< const char *, 49 > fragments_DNA_FA
Definition: NuXLPresets.h:954
static constexpr std::array< const char *, 46 > fragments_DNA_NM
Definition: NuXLPresets.h:1012
static constexpr std::array< const char *, 32 > modifications_DNA_UV_EXTENDED
Definition: NuXLPresets.h:380
static constexpr std::array< const char *, 38 > modifications_DNA_DEB_EXTENDED
Definition: NuXLPresets.h:431
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
static constexpr std::array< const char *, 12 > modifications_RNA_FA
Definition: NuXLPresets.h:255
static constexpr std::array< const char *, 14 > modifications_RNA_UV_4SU_EXTENDED
Definition: NuXLPresets.h:111
Representation of an amino acid residue.
Definition: Residue.h:62
static constexpr std::array< const char *, 42 > fragments_DNA_UV
Definition: NuXLPresets.h:685
static constexpr std::array< const char *, 5 > DNA_mapping
Definition: NuXLPresets.h:1068
static constexpr std::array< const char *, 23 > presets_names
Definition: NuXLPresets.h:1071
static constexpr std::array< const char *, 6 > modifications_DNA_NM
Definition: NuXLPresets.h:477
void getPresets(const String &p, StringList &nucleotides, StringList &mapping, StringList &modifications, StringList &fragment_adducts, String &can_cross_link)
Definition: NuXLPresets.h:1097
static constexpr std::array< const char *, 47 > fragments_RNA_DEB
Definition: NuXLPresets.h:737
static constexpr std::array< const char *, 29 > modifications_RNA_UV_EXTENDED
Definition: NuXLPresets.h:65
static constexpr std::array< const char *, 50 > fragments_DNA_DEB
Definition: NuXLPresets.h:792
static constexpr std::array< const char *, 11 > modifications_RNA_UV_6SG_EXTENDED
Definition: NuXLPresets.h:140
static constexpr std::array< const char *, 41 > fragments_RNA_UV_4SU
Definition: NuXLPresets.h:586
static ResidueDB * getInstance()
singleton
static constexpr std::array< const char *, 34 > modifications_RNA_NM_EXTENDED
Definition: NuXLPresets.h:165
static constexpr std::array< const char *, 5 > DNA_nucleotides
Definition: NuXLPresets.h:1066
static constexpr std::array< const char *, 16 > modifications_DNA_FA
Definition: NuXLPresets.h:302
static constexpr std::array< const char *, 28 > modifications_DNA_FA_EXTENDED
Definition: NuXLPresets.h:325
static constexpr std::array< const char *, 4 > modifications_RNA_DEB
Definition: NuXLPresets.h:206
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
static constexpr std::array< const char *, 6 > modifications_RNA_UV_4SU
Definition: NuXLPresets.h:101
void addLossFormula(const EmpiricalFormula &)
adds a neutral loss formula
static constexpr std::array< const char *, 43 > fragments_RNA_NM
Definition: NuXLPresets.h:851
static constexpr std::array< const char *, 6 > modifications_RNA_UV_6SG
Definition: NuXLPresets.h:130
static constexpr std::array< const char *, 39 > fragments_RNA_UV
Definition: NuXLPresets.h:538
bool hasPrefix(const String &string) const
true if String begins with string, false otherwise
static constexpr std::array< const char *, 4 > RNA_mapping
Definition: NuXLPresets.h:1069
static constexpr std::array< const char *, 38 > modifications_DNA_NM_EXTENDED
Definition: NuXLPresets.h:487
static constexpr std::array< const char *, 4 > RNA_nucleotides
Definition: NuXLPresets.h:1067
static constexpr std::array< const char *, 10 > modifications_RNA_UV
Definition: NuXLPresets.h:48
const Residue * getResidue(const String &name) const
returns a pointer to the residue with name, 3 letter code or 1 letter code name
static constexpr std::array< const char *, 46 > fragments_RNA_FA
Definition: NuXLPresets.h:901