{"id":744,"date":"2013-05-31T18:55:09","date_gmt":"2013-05-31T18:55:09","guid":{"rendered":"http:\/\/psyphi.net\/blog\/?p=744"},"modified":"2013-05-31T20:03:39","modified_gmt":"2013-05-31T20:03:39","slug":"random-sequence-mutator","status":"publish","type":"post","link":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/","title":{"rendered":"Random Sequence Mutator"},"content":{"rendered":"<p>\n Here&#8217;s a handy one(ish)-liner to mutate an input sequence using Perl&#8217;s RegEx engine:\n<\/p>\n<pre><code>epiphyte:~ rmp$ perl -e '$seq=\"ACTAGCTACGACTAGCATCGACT\"; $mutants = [qw(A C T G)];\r\n  print \"$seq\\n\";\r\n  $seq =~ s{([ATGC])}{ rand() &lt; 0.5 ? $mutants-&gt;[int rand 4] : $1 }smiexg;\r\n  print \"$seq\\n\";'\r\nACTAGCTACGACTAGCATCGACT\r\nACAATCGCGGACCAGAATCTCTT<\/code><\/pre>\n<p>\nThis gives each base in $seq a 50% chance (rand() < 0.5) of mutating to something, but as the original base is in the available $mutants array it has a further 25% chance of changing to itself. If you wanted to improve it by excluding the original base for each mutation you might do something like:\n<\/p>\n<pre><code>epiphyte:~ rmp$ perl -e '$seq=\"ACTAGCTACGACTAGCATCGACT\"; $mutants = [qw(A C T G)];\r\n  $mutsize=scalar @{$mutants}; print \"$seq\\n\";\r\n  $seq =~ s{([ATGC])}{ rand() &lt; 0.5 ? [grep { $_ ne $1 } @{$mutants}]-&gt;[int rand $mutsize-1] : $1 }smiexg;\r\n  print \"$seq\\n\";'\r\nACTAGCTACGACTAGCATCGACT\r\nTGTAGATAATGTGATACGAGACT<\/code><\/pre>\n<\/p>\n<p>\nThis (quite inefficiently) builds an array of all available options from $mutants, excluding $1 the matched base at each position.<\/p>\n<p>Unrolling it and tidying it up a little for readability looks like this:\n<\/p>\n<pre><code>my $seq     = 'ACTAGCTACGACTAGCATCGACT';\r\nmy $mutants = [qw(A C T G)];\r\nmy $mutsize = scalar @{$mutants};\r\n\r\nprint \"$seq\\n\";\r\n\r\n$seq =~ s{([ATGC])}{\r\n   rand() &lt; 0.5\r\n    ?\r\n   [grep { $_ ne $1 } @{$mutants}]-&gt;[int rand $mutsize-1]\r\n    :\r\n   $1\r\n }smiexg;\r\n\r\nprint \"$seq\\n\";'<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a handy one(ish)-liner to mutate an input sequence using Perl&#8217;s RegEx engine: epiphyte:~ rmp$ perl -e &#8216;$seq=&#8221;ACTAGCTACGACTAGCATCGACT&#8221;; $mutants = [qw(A C T G)]; print &#8220;$seq\\n&#8221;; $seq =~ s{([ATGC])}{ rand() &lt; 0.5 ? $mutants-&gt;[int rand 4] : $1 }smiexg; print &#8220;$seq\\n&#8221;;&#8217; ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() < 0.5) &hellip; <a href=\"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Random Sequence Mutator&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[11],"tags":[934,935,778],"class_list":["post-744","post","type-post","status-publish","format-standard","hentry","category-programming","tag-mutation","tag-random","tag-sequence"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Here&#039;s a handy one(ish)-liner to mutate an input sequence using Perl&#039;s RegEx engine: epiphyte:~ rmp$ perl -e &#039;$seq=&quot;ACTAGCTACGACTAGCATCGACT&quot;; $mutants = [qw(A C T G)]; print &quot;$seq\\n&quot;; $seq =~ s{([ATGC])}{ rand() &lt; 0.5 ? $mutants-&gt;[int rand 4] : $1 }smiexg; print &quot;$seq\\n&quot;;&#039; ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() &lt; 0.5)\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Roger Pettett\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"psyphi.net blog - Another collection of braingunk and technolint\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Random Sequence Mutator - psyphi.net blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Here&#039;s a handy one(ish)-liner to mutate an input sequence using Perl&#039;s RegEx engine: epiphyte:~ rmp$ perl -e &#039;$seq=&quot;ACTAGCTACGACTAGCATCGACT&quot;; $mutants = [qw(A C T G)]; print &quot;$seq\\n&quot;; $seq =~ s{([ATGC])}{ rand() &lt; 0.5 ? $mutants-&gt;[int rand 4] : $1 }smiexg; print &quot;$seq\\n&quot;;&#039; ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() &lt; 0.5)\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-05-31T18:55:09+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2013-05-31T20:03:39+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Random Sequence Mutator - psyphi.net blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Here&#039;s a handy one(ish)-liner to mutate an input sequence using Perl&#039;s RegEx engine: epiphyte:~ rmp$ perl -e &#039;$seq=&quot;ACTAGCTACGACTAGCATCGACT&quot;; $mutants = [qw(A C T G)]; print &quot;$seq\\n&quot;; $seq =~ s{([ATGC])}{ rand() &lt; 0.5 ? $mutants-&gt;[int rand 4] : $1 }smiexg; print &quot;$seq\\n&quot;;&#039; ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() &lt; 0.5)\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#blogposting\",\"name\":\"Random Sequence Mutator - psyphi.net blog\",\"headline\":\"Random Sequence Mutator\",\"author\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\"},\"datePublished\":\"2013-05-31T18:55:09+00:00\",\"dateModified\":\"2013-05-31T20:03:39+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#webpage\"},\"articleSection\":\"programming, mutation, random, sequence\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/psyphi.net\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/programming\\\/#listItem\",\"name\":\"programming\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/programming\\\/#listItem\",\"position\":2,\"name\":\"programming\",\"item\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#listItem\",\"name\":\"Random Sequence Mutator\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#listItem\",\"position\":3,\"name\":\"Random Sequence Mutator\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/programming\\\/#listItem\",\"name\":\"programming\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\",\"name\":\"psyphi.net blog\",\"description\":\"Another collection of braingunk and technolint\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/\",\"name\":\"Roger Pettett\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f715f8335258578c567eb8c22335f1cee22c971c2aff8be27c4d8d934c436503?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Roger Pettett\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#webpage\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/\",\"name\":\"Random Sequence Mutator - psyphi.net blog\",\"description\":\"Here's a handy one(ish)-liner to mutate an input sequence using Perl's RegEx engine: epiphyte:~ rmp$ perl -e '$seq=\\\"ACTAGCTACGACTAGCATCGACT\\\"; $mutants = [qw(A C T G)]; print \\\"$seq\\\\n\\\"; $seq =~ s{([ATGC])}{ rand() < 0.5 ? $mutants->[int rand 4] : $1 }smiexg; print \\\"$seq\\\\n\\\";' ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() < 0.5)\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2013\\\/05\\\/random-sequence-mutator\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"datePublished\":\"2013-05-31T18:55:09+00:00\",\"dateModified\":\"2013-05-31T20:03:39+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/\",\"name\":\"psyphi.net blog\",\"description\":\"Another collection of braingunk and technolint\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Random Sequence Mutator - psyphi.net blog","description":"Here's a handy one(ish)-liner to mutate an input sequence using Perl's RegEx engine: epiphyte:~ rmp$ perl -e '$seq=\"ACTAGCTACGACTAGCATCGACT\"; $mutants = [qw(A C T G)]; print \"$seq\\n\"; $seq =~ s{([ATGC])}{ rand() < 0.5 ? $mutants->[int rand 4] : $1 }smiexg; print \"$seq\\n\";' ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() < 0.5)","canonical_url":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#blogposting","name":"Random Sequence Mutator - psyphi.net blog","headline":"Random Sequence Mutator","author":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"publisher":{"@id":"https:\/\/psyphi.net\/blog\/#organization"},"datePublished":"2013-05-31T18:55:09+00:00","dateModified":"2013-05-31T20:03:39+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#webpage"},"isPartOf":{"@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#webpage"},"articleSection":"programming, mutation, random, sequence"},{"@type":"BreadcrumbList","@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog#listItem","position":1,"name":"Home","item":"https:\/\/psyphi.net\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/programming\/#listItem","name":"programming"}},{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/programming\/#listItem","position":2,"name":"programming","item":"https:\/\/psyphi.net\/blog\/category\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#listItem","name":"Random Sequence Mutator"},"previousItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#listItem","position":3,"name":"Random Sequence Mutator","previousItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/programming\/#listItem","name":"programming"}}]},{"@type":"Organization","@id":"https:\/\/psyphi.net\/blog\/#organization","name":"psyphi.net blog","description":"Another collection of braingunk and technolint","url":"https:\/\/psyphi.net\/blog\/"},{"@type":"Person","@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author","url":"https:\/\/psyphi.net\/blog\/author\/rmp\/","name":"Roger Pettett","image":{"@type":"ImageObject","@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f715f8335258578c567eb8c22335f1cee22c971c2aff8be27c4d8d934c436503?s=96&d=mm&r=g","width":96,"height":96,"caption":"Roger Pettett"}},{"@type":"WebPage","@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#webpage","url":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/","name":"Random Sequence Mutator - psyphi.net blog","description":"Here's a handy one(ish)-liner to mutate an input sequence using Perl's RegEx engine: epiphyte:~ rmp$ perl -e '$seq=\"ACTAGCTACGACTAGCATCGACT\"; $mutants = [qw(A C T G)]; print \"$seq\\n\"; $seq =~ s{([ATGC])}{ rand() < 0.5 ? $mutants->[int rand 4] : $1 }smiexg; print \"$seq\\n\";' ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() < 0.5)","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/psyphi.net\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/#breadcrumblist"},"author":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"creator":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"datePublished":"2013-05-31T18:55:09+00:00","dateModified":"2013-05-31T20:03:39+00:00"},{"@type":"WebSite","@id":"https:\/\/psyphi.net\/blog\/#website","url":"https:\/\/psyphi.net\/blog\/","name":"psyphi.net blog","description":"Another collection of braingunk and technolint","inLanguage":"en-US","publisher":{"@id":"https:\/\/psyphi.net\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"psyphi.net blog - Another collection of braingunk and technolint","og:type":"article","og:title":"Random Sequence Mutator - psyphi.net blog","og:description":"Here's a handy one(ish)-liner to mutate an input sequence using Perl's RegEx engine: epiphyte:~ rmp$ perl -e '$seq=&quot;ACTAGCTACGACTAGCATCGACT&quot;; $mutants = [qw(A C T G)]; print &quot;$seq\\n&quot;; $seq =~ s{([ATGC])}{ rand() &lt; 0.5 ? $mutants-&gt;[int rand 4] : $1 }smiexg; print &quot;$seq\\n&quot;;' ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() &lt; 0.5)","og:url":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/","article:published_time":"2013-05-31T18:55:09+00:00","article:modified_time":"2013-05-31T20:03:39+00:00","twitter:card":"summary_large_image","twitter:title":"Random Sequence Mutator - psyphi.net blog","twitter:description":"Here's a handy one(ish)-liner to mutate an input sequence using Perl's RegEx engine: epiphyte:~ rmp$ perl -e '$seq=&quot;ACTAGCTACGACTAGCATCGACT&quot;; $mutants = [qw(A C T G)]; print &quot;$seq\\n&quot;; $seq =~ s{([ATGC])}{ rand() &lt; 0.5 ? $mutants-&gt;[int rand 4] : $1 }smiexg; print &quot;$seq\\n&quot;;' ACTAGCTACGACTAGCATCGACT ACAATCGCGGACCAGAATCTCTT This gives each base in $seq a 50% chance (rand() &lt; 0.5)"},"aioseo_meta_data":{"post_id":"744","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-05-16 17:00:02","updated":"2025-08-15 17:32:03","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/psyphi.net\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/psyphi.net\/blog\/category\/programming\/\" title=\"programming\">programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRandom Sequence Mutator\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/psyphi.net\/blog"},{"label":"programming","link":"https:\/\/psyphi.net\/blog\/category\/programming\/"},{"label":"Random Sequence Mutator","link":"https:\/\/psyphi.net\/blog\/2013\/05\/random-sequence-mutator\/"}],"_links":{"self":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/comments?post=744"}],"version-history":[{"count":7,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/744\/revisions"}],"predecessor-version":[{"id":751,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/744\/revisions\/751"}],"wp:attachment":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/media?parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/categories?post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/tags?post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}