<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8" />
  <title>Homology, interspecies | Ideogram</title>
  <link type="text/css" rel="stylesheet" href="css/ideogram.css"/>
  <script type="text/javascript" src="js/d3.min.js"></script>
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script type="text/javascript" src="js/ideogram.js"></script>
</head>
<body>
  <h1>Homology, interspecies | Ideogram</h1>
  <a href="/ideogram">Back to overview</a>
  <script type="text/javascript">

  var config = {
    multiorganism: true,
    taxids: ["9606", "10090"],
    chromosomes: {
      "9606": ["1"],
      "10090": ["4"]
    },
    chrWidth: 10,
    chrHeight: 500,
    chrMargin: 10,
    showBandLabels: true,
    orientation: "vertical"
  };

  var ideogram = new Ideogram(config);

  $(document).on("click", "g", function() {
    var chrID = $(this).attr("id");
    ideogram.rotateAndToggleDisplay(chrID);
  });

  </script>
</body>
</html>
<commit_msg>Added MTOR example for human-mouse homology<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8" />
  <title>Homology, interspecies | Ideogram</title>
  <link type="text/css" rel="stylesheet" href="css/ideogram.css"/>
  <script type="text/javascript" src="js/d3.min.js"></script>
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script type="text/javascript" src="js/ideogram.js"></script>
</head>
<body>
  <h1>Homology, interspecies | Ideogram</h1>
  <a href="/ideogram">Back to overview</a>
  <script type="text/javascript">

    function onIdeogramLoad() {
      // See HomoloGene entry for MTOR at 
      // http://www.ncbi.nlm.nih.gov/homologene/3637
      // Placements for H. sapiens and M. musculus used below.
      // Placements from latest annotation release in 
      // Human: http://www.ncbi.nlm.nih.gov/gene/2475#genomic-context
      // Mouse: http://www.ncbi.nlm.nih.gov/gene/56717#genomic-context

      var chrs = ideogram.chromosomes,
        chr1 = chrs["9606"]["1"], 
        chr4 = chrs["10090"]["4"],
        syntenicRegions = [];

      range1 = {
        chr: chr1,
        start: 11106531,
        stop: 11262557,
        orientation: "reverse"
      };

      range2 = {
        chr: chr4,
        start: 148448582,
        stop: 148557685
      };
      
      syntenicRegions.push({"r1": range1, "r2": range2});

      ideogram.drawSynteny(syntenicRegions);
      
    }

  var config = {
    multiorganism: true,
    taxids: ["9606", "10090"],
    chromosomes: {
      "9606": ["1"],
      "10090": ["4"]
    },
    chrWidth: 10,
    chrHeight: 500,
    chrMargin: 50,
    showBandLabels: true,
    orientation: "vertical",
    perspective: "comparative",
    onLoad: onIdeogramLoad
  };

  var ideogram = new Ideogram(config);

  $(document).on("click", "g", function() {
    var chrID = $(this).attr("id");
    ideogram.rotateAndToggleDisplay(chrID);
  });

  </script>
</body>
</html>

{'fraction_non_alphanumeric': 0.17125081859855926, 'fraction_numerical': 0.042567125081859856, 'mean_word_length': 2.6153846153846154, 'pattern_counts': {'":': 6, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3681013', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1041, 'n_words': 204}