1403 lines
4.5 MiB
HTML
1403 lines
4.5 MiB
HTML
|
<!DOCTYPE html>
|
||
|
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
|
||
|
<meta charset="utf-8" />
|
||
|
<meta name="generator" content="pandoc" />
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
||
|
|
||
|
|
||
|
<meta name="author" content="Maria S. Benitez-Cantos" />
|
||
|
|
||
|
<meta name="date" content="2021-12-02" />
|
||
|
|
||
|
<title>Generating in silico TCR repertoires</title>
|
||
|
|
||
|
<script src="data:application/x-javascript;base64,LyohIGpRdWVyeSB2MS4xMi40IHwgKGMpIGpRdWVyeSBGb3VuZGF0aW9uIHwganF1ZXJ5Lm9yZy9saWNlbnNlICovCiFmdW5jdGlvbihhLGIpeyJvYmplY3QiPT10eXBlb2YgbW9kdWxlJiYib2JqZWN0Ij09dHlwZW9mIG1vZHVsZS5leHBvcnRzP21vZHVsZS5leHBvcnRzPWEuZG9jdW1lbnQ/YihhLCEwKTpmdW5jdGlvbihhKXtpZighYS5kb2N1bWVudCl0aHJvdyBuZXcgRXJyb3IoImpRdWVyeSByZXF1aXJlcyBhIHdpbmRvdyB3aXRoIGEgZG9jdW1lbnQiKTtyZXR1cm4gYihhKX06YihhKX0oInVuZGVmaW5lZCIhPXR5cGVvZiB3aW5kb3c/d2luZG93OnRoaXMsZnVuY3Rpb24oYSxiKXt2YXIgYz1bXSxkPWEuZG9jdW1lbnQsZT1jLnNsaWNlLGY9Yy5jb25jYXQsZz1jLnB1c2gsaD1jLmluZGV4T2YsaT17fSxqPWkudG9TdHJpbmcsaz1pLmhhc093blByb3BlcnR5LGw9e30sbT0iMS4xMi40IixuPWZ1bmN0aW9uKGEsYil7cmV0dXJuIG5ldyBuLmZuLmluaXQoYSxiKX0sbz0vXltcc1x1RkVGRlx4QTBdK3xbXHNcdUZFRkZceEEwXSskL2cscD0vXi1tcy0vLHE9Ly0oW1xkYS16XSkvZ2kscj1mdW5jdGlvbihhL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Wt9ZWxzZSBmb3IoZCBpbiBhKWlmKGIuY2FsbChhW2RdLGQsYVtkXSk9PT0hMSlicmVhaztyZXR1cm4gY
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
<link href="data:text/css;charset=utf-8,%40font%2Dface%20%7B%0Afont%2Dfamily%3A%20%27Source%20Sans%20Pro%27%3B%0Afont%2Dstyle%3A%20normal%3B%0Afont%2Dweight%3A%20300%3B%0Asrc%3A%20url%28data%3Aapplication%2Fx%2Dfont%2Dtruetype%3Bbase64%2CAAEAAAARAQAABAAQR0RFRgNEA3IAAG%2BkAAAAQEdQT1PXveeXAABv5AAAGWRHU1VC8WfWVwAAiUgAAADgT1MvMlpQkwsAAGZkAAAAYGNtYXDzMPm1AABmxAAAAeZjdnQgDXMAuAAAamwAAAAoZnBnbQZZnDcAAGisAAABc2dhc3D%2F%2FwADAABvnAAAAAhnbHlm4G%2FpBAAAARwAAF8kaGVhZP4Fs%2FYAAGJEAAAANmhoZWEHlAOiAABmQAAAACRobXR4l6Yq6AAAYnwAAAPEbG9jYV5idvoAAGBgAAAB5G1heHADCwJJAABgQAAAACBuYW1lIvc8kwAAapQAAAHKcG9zdGxQSG8AAGxgAAADOXByZXAtaIB5AABqIAAAAEsABQBeAAACGgKUAAMABgAJAA8AFQBnALgAAEVYuAAALxu5AAAAED5ZuAAARVi4AAIvG7kAAgAEPlm6AAUAAgAAERI5ugAGAAIAABESOboABwACAAAREjm6AAgAAgAAERI5uQAKAAH0ugANAAIAABESObgAABC5ABIAAfQwMRMhESETAxEhEQMTLwEjDwETPwEhHwFeAbz%2BRMCTAWCRfF07BD1foDVW%2FuRXNgKU%2FWwBVAEE%2FfwCBP78%2FtOkaWmkAU1cm5tcAAIACAAAAgYCkwAJABEAVAC4AABFWLgADi8buQAOABA%2BWbgAAEVYuAAMLxu5AAwABD5ZuAAARVi4ABEvG7kAEQAEPlm6AAUADAAOERI5ugALAAwADhESObgACy%2B5AAkAAfQwMQEnLgEnIw4B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ZS5lYWNoKFsiV2lkdGgiLCJIZWlnaHQiXSxmdW5jdGlvbih0LGkpe2Z1bmN0aW9uIHModCxpLHMsYSl7cmV0dXJuIGUuZWFjaChuLGZ1bmN0aW9uKCl7aS09cGFyc2VGbG9hdChlLmNzcyh0LCJwYWRkaW5nIit0aGlzKSl8fDAscyYmKGktPXBhcnNlRmxvYXQoZS5jc3ModCwiYm9yZGVyIit0aGlzKyJXaWR0aCIpKXx8MCksYSYmKGktPXBhcnNlRmxvYXQoZS5jc3ModCwibWFyZ2luIit0aGlzKSl8fDApfSksaX12YXIgbj0iV2lkdGgiPT09aT9bIkxlZnQiLCJSaWdodCJdOlsiVG9wIiwiQm90dG9tIl0sYT1pLnRvTG93ZXJDYXNlKCksbz17aW5uZXJXaWR0aDplLmZuLmlubmVyV2lkdGgsaW5uZXJIZWlnaHQ6ZS5mbi5pbm5lckhlaWdodCxvdXRlcldpZHRoOmUuZm4ub3V0ZXJXaWR0aCxvdXRlckhlaWdodDplLmZuLm91dGVySGVpZ2h0fTtlLmZuWyJpbm5lciIraV09ZnVuY3Rpb24odCl7cmV0dXJuIHZvaWQgMD09PXQ/b1siaW5uZXIiK2ldLmNhbGwodGhpcyk6dGhpcy5lYWNoKGZ1bmN0aW9uKCl7ZSh0aGlzKS5jc3MoYSxzKHRoaXMsdCkrInB4Iil9KX0sZS5mblsib3V0ZXIiK2ldPWZ1bmN0aW9uKHQsbil7cmV0dXJuI
|
||
|
<link href="data:text/css;charset=utf-8,%0A%0A%2Etocify%20%7B%0Awidth%3A%2020%25%3B%0Amax%2Dheight%3A%2090%25%3B%0Aoverflow%3A%20auto%3B%0Amargin%2Dleft%3A%202%25%3B%0Aposition%3A%20fixed%3B%0Aborder%3A%201px%20solid%20%23ccc%3B%0Aborder%2Dradius%3A%206px%3B%0A%7D%0A%0A%2Etocify%20ul%2C%20%2Etocify%20li%20%7B%0Alist%2Dstyle%3A%20none%3B%0Amargin%3A%200%3B%0Apadding%3A%200%3B%0Aborder%3A%20none%3B%0Aline%2Dheight%3A%2030px%3B%0A%7D%0A%0A%2Etocify%2Dheader%20%7B%0Atext%2Dindent%3A%2010px%3B%0A%7D%0A%0A%2Etocify%2Dsubheader%20%7B%0Atext%2Dindent%3A%2020px%3B%0Adisplay%3A%20none%3B%0A%7D%0A%0A%2Etocify%2Dsubheader%20li%20%7B%0Afont%2Dsize%3A%2012px%3B%0A%7D%0A%0A%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%7B%0Atext%2Dindent%3A%2030px%3B%0A%7D%0A%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%7B%0Atext%2Dindent%3A%2040px%3B%0A%7D%0A%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%7B%0Atext%2Dindent%3A%2050px%3B%0A%7D%0A%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%2Etocify%2Dsubheader%20%7B%0Atext%2Dindent%3A%2060px%3B%0A%7D%0A%0A%2Etocify%20%2Etocify%2Ditem%20%3E%20a%2C%20%2Etocify%20%2Enav%2Dlist%20%2Enav%2Dheader%20%7B%0Amargin%3A%200px%3B%0A%7D%0A%0A%2Etocify%20%2Etocify%2Ditem%20a%2C%20%2Etocify%20%2Elist%2Dgroup%2Ditem%20%7B%0Apadding%3A%205px%3B%0A%7D%0A%2Etocify%20%2Enav%2Dpills%20%3E%20li%20%7B%0Afloat%3A%20none%3B%0A%7D%0A%0A%0A" rel="stylesheet" />
|
||
|
<script src="data:application/x-javascript;base64,LyoganF1ZXJ5IFRvY2lmeSAtIHYxLjkuMSAtIDIwMTMtMTAtMjIKICogaHR0cDovL3d3dy5ncmVnZnJhbmtvLmNvbS9qcXVlcnkudG9jaWZ5LmpzLwogKiBDb3B5cmlnaHQgKGMpIDIwMTMgR3JlZyBGcmFua287IExpY2Vuc2VkIE1JVCAqLw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KCdhcmlhLWV4cGFuZGVkJywgc2hvd1RoaXMpCiAgICAgICAgLmF0dHIoJ2FyaWEtY29udHJvbHMnLCBpZCk7CgogICAgdmFyIGJ1dHRvblJvdyA9ICQoJzxkaXYgY2xhc3M9InJvdyI+PC9kaXY+Jyk7CiAgICB2YXIgYnV0dG9uQ29sID0gJCgnPGRpdiBjbGFzcz0iY29sLW1kLTEyIj48L2Rpdj4nKTsKCiAgICBidXR0b25Db2wuYXBwZW5kKHNob3dDb2RlQnV0dG9uKTsKICAgIGJ1dHRvblJvdy5hcHBlbmQoYnV0dG9uQ29sKTsKCiAgICBkaXYuYmVmb3JlKGJ1dHRvblJvdyk7CgogICAgLy8gdXBkYXRlIHN0YXRlIG9mIGJ1dHRvbiBvbiBzaG93L2hpZGUKICAgIGRpdi5vbignaGlkZGVuLmJzLmNvbGxhcHNlJywgZnVuY3Rpb24gKCkgewogICAgICBzaG93Q29kZVRleHQudGV4dCgnQ29kZScpOwogICAgfSk7CiAgICBkaXYub24oJ3Nob3cuYnMuY29sbGFwc2UnLCBmdW5jdGlvbiAoKSB7CiAgICAgIHNob3dDb2RlVGV4dC50ZXh0KCdIaWRlJyk7CiAgICB9KTsKICB9KTsKCn0K"></script>
|
||
|
<link href="data:text/css;charset=utf-8,%2Ehljs%2Dliteral%20%7B%0Acolor%3A%20%23990073%3B%0A%7D%0A%2Ehljs%2Dnumber%20%7B%0Acolor%3A%20%23099%3B%0A%7D%0A%2Ehljs%2Dcomment%20%7B%0Acolor%3A%20%23998%3B%0Afont%2Dstyle%3A%20italic%3B%0A%7D%0A%2Ehljs%2Dkeyword%20%7B%0Acolor%3A%20%23900%3B%0Afont%2Dweight%3A%20bold%3B%0A%7D%0A%2Ehljs%2Dstring%20%7B%0Acolor%3A%20%23d14%3B%0A%7D%0A" rel="stylesheet" />
|
||
|
<script src="data:application/x-javascript;base64,LyohIGhpZ2hsaWdodC5qcyB2OS4xMi4wIHwgQlNEMyBMaWNlbnNlIHwgZ2l0Lmlv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l0KCIgIikuam9pbigifCIpKyIpXFxiIiksYS5ifHwoYS5iPS9cQnxcYi8pLGEuYlI9dChhLmIpLGEuZXx8YS5lV3x8KGEuZT0vXEJ8XGIvKSxhLmUmJihhLmVSPXQoYS5lKSksYS50RT1uKGEuZSl8fCIiLGEuZVcmJmkudEUmJihhLnRFKz0oYS5lPyJ8IjoiIikraS50RSkpLGEuaSYmKGEuaVI9dChhLmkpKSxudWxsPT1hLnImJihhLnI9MSksYS5jfHwoYS5jPVtdKSxhLmM9QXJyYXkucHJvdG90eXBlLmNvbmNhdC5hcHBseShbXSxhLmMubWFwKGZ1bmN0aW9uKGUpe3JldHVybiBsKCJzZWxmIj09PWU/YTplKX0pKSxhLmMuZm9yRWFjaChmdW5jdGlvbihlKXtyKGUsYSl9KSxhLnN0YXJ0cyYmcihhLnN0YXJ0cyxpKTt2YXIgYz1hLmMubWFwKGZ1bmN0aW9uKGUpe3JldHVybiBlLmJLPyJcXC4/KCIrZS5iKyIpXFwuPyI6ZS5ifSkuY29uY2F0KFthLnRFLGEuaV0pLm1hcChuKS5maWx0ZXIoQm9vbGVhbik7YS50PWMubGVuZ3RoP3QoYy5qb2luKCJ8IiksITApOntleGVjOmZ1bmN0aW9uKCl7cmV0dXJuIG51bGx9fX19cihlKX1mdW5jdGlvbiBmKGUsdCxhLGkpe2Z1bmN0aW9uIG8oZSxuKXt2YXIgdCxhO2Zvcih0PTAsYT1uLmMubGVuZ3RoO2E+dDt0K
|
||
|
<link href="data:text/css;charset=utf-8,%0Aa%2Eanchor%2Dsection%20%7Bmargin%2Dleft%3A%2010px%3B%20visibility%3A%20hidden%3B%20color%3A%20inherit%3B%7D%0Aa%2Eanchor%2Dsection%3A%3Abefore%20%7Bcontent%3A%20%27%23%27%3B%7D%0A%2EhasAnchor%3Ahover%20a%2Eanchor%2Dsection%20%7Bvisibility%3A%20visible%3B%7D%0A" rel="stylesheet" />
|
||
|
<script src="data:application/x-javascript;base64,Ly8gQW5jaG9yIHNlY3Rp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dcrosstalk%2Dfade%20%7B%0Aopacity%3A%200%2E2%3B%0A%7D%0Ahtml%20body%20div%2EDTS%20div%2EdataTables%5FscrollBody%20%7B%0Abackground%3A%20none%3B%0A%7D%0A%0Atable%2EdataTable%20%7B%0Adisplay%3A%20table%3B%0A%7D%0A" rel="stylesheet" />
|
||
|
<script src="data:application/x-javascript;base64,KGZ1bmN0aW9uKCkgewoKLy8gc29tZSBoZWxwZXIgZnVuY3Rpb25zOiB1c2luZyBhIGdsb2JhbCBvYmplY3QgRFRXaWRnZXQgc28gdGhhdCBpdCBjYW4gYmUgdXNlZAovLyBpbiBKUygpIGNvZGUsIGUuZy4gZGF0YXRhYmxlKG9wdGlvbnMgPSBsaXN0KGZvbyA9IEpTKCdjb2RlJykpKTsgdW5saWtlIFIncwovLyBkeW5hbWljIHNjb3BpbmcsIHdoZW4gJ2NvZGUnIGlzIGV2YWwoKSdlZCwgSmF2YVNjcmlwdCBkb2VzIG5vdCBrbm93IG9iamVjdHMKLy8gZnJvbSB0aGUgInBhcmVudCBmcmFtZSIsIGUuZy4gSlMoJ0RUV2lkZ2V0Jykgd2lsbCBub3Qgd29yayB1bmxlc3MgaXQgd2FzIG1hZGUKLy8gYSBnbG9iYWwgb2JqZWN0CnZhciBEVFdpZGdldCA9IHt9OwoKLy8gMTIzNDU2NjY2Ljc4OTAgLT4gMTIzLDQ1Niw2NjYuNzg5MAp2YXIgbWFya0ludGVydmFsID0gZnVuY3Rpb24oZCwgZGlnaXRzLCBpbnRlcnZhbCwgbWFyaywgZGVjTWFyaywgcHJlY2lzaW9uKSB7CiAgeCA9IHByZWNpc2lvbiA/IGQudG9QcmVjaXNpb24oZGlnaXRzKSA6IGQudG9GaXhlZChkaWdpdHMpOwogIGlmICghL14tP1tcZC5dKyQvLnRlc3QoeCkpIHJldHVybiB4OwogIHZhciB4diA9IHguc3BsaXQoJy4nKTsKICBpZiAoeHYubGVuZ3RoID4gMikgcmV0dXJuIHg7ICAvLyBzaG91bGQgaGF2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%3A100%25%3Bmargin%3A0%20auto%3Bclear%3Aboth%3Bborder%2Dcollapse%3Aseparate%3Bborder%2Dspacing%3A0%7Dtable%2EdataTable%20thead%20th%2Ctable%2EdataTable%20tfoot%20th%7Bfont%2Dweight%3Abold%7Dtable%2EdataTable%20thead%20th%2Ctable%2EdataTable%20thead%20td%7Bpadding%3A10px%2018px%3Bborder%2Dbottom%3A1px%20solid%20%23111%7Dtable%2EdataTable%20thead%20th%3Aactive%2Ctable%2EdataTable%20thead%20td%3Aactive%7Boutline%3Anone%7Dtable%2EdataTable%20tfoot%20th%2Ctable%2EdataTable%20tfoot%20td%7Bpadding%3A10px%2018px%206px%2018px%3Bborder%2Dtop%3A1px%20solid%20%23111%7Dtable%2EdataTable%20thead%20%2Esorting%2Ctable%2EdataTable%20thead%20%2Esorting%5Fasc%2Ctable%2EdataTable%20thead%20%2Esorting%5Fdesc%2Ctable%2EdataTable%20thead%20%2Esorting%5Fasc%5Fdisabled%2Ctable%2EdataTable%20thead%20%2Esorting%5Fdesc%5Fdisabled%7Bcursor%3Apointer%3B%2Acursor%3Ahand%3Bbackground%2Drepeat%3Ano%2Drepeat%3Bbackground%2Dposition%3Acenter%20right%7Dtable%2EdataTable%20thead%20%2Esorting%7Bbackground%2Dimage%3Aurl%28data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7XQMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL%2BTq%2FQCM1oNiJidwox0355mXnG%2FDrEtIQ6azioNZQxI0ykPhTQIwhCR%2BBmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P%2BGtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC%29%7Dtable%2EdataTable%20thead%20%2Esorting%5Fasc%7Bbackground%2Dimage%3Aurl%28data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS%2FgDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM%2BwTENuQahAvEO9DMwiGdwAxOymGJQLxTyD%2BjgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg%3D%3D%29%7Dtable%2EdataTable%20thead%20%2Esorting%5Fdesc%7Bbackground%2Dimage%3Aurl%28data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA%2FBOIv2PBIPFEUgxjB%2BIdQPwfC94HxLykus4GiD%2BhGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL%2BAuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII%3D%29%7Dtable%2EdataTable%20thead%20%2Esorting%5Fasc%5Fdisabled%7Bbackground%2Dimage%3Aurl%28data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAW0lEQVQoz2NgoCm4w3Vnwh02wspK7%2Fy6k01Ikdadx3f%2B37l9RxmfIsY7c4GKQHDiHUbcyhzvvIMq%2B3THBpci3jv7oIpAcMcdduzKEu%2F8vPMdDn%2FeiWQYBYMKAAC3ykIEuYQJUgAAAABJRU5ErkJggg%3D%3D%29%7Dtable%2EdataTable%20thead%20%2Esorting%5Fdesc%5Fdisabled%7Bbackground%2Dimage%3Aurl%28data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAWUlEQVQoz2NgGAWDCtyJvPPzznc4%2FHknEbsy9js77vyHw313eHGZZ3PnE1TRuzuOuK1lvDMRqmzuHUZ87lO%2Bcxuo6PEdLUIeyb7z604pYf%2By3Zlwh4u2YQoAc7ZCBHH4jigAAAAASUVORK5CYII%3D%29%7Dtable%2EdataTable%20tbody%20tr%7Bbackground%2Dcolor%3A%23ffffff%7Dtable%2EdataTable%20tbody%20tr%2Eselected%7Bbackground%2Dcolor%3A%23B0BED9%7Dtable%2EdataTable%20tbody%20th%2Ctable%2EdataTable%20tbody%20td%7Bpadding%3A8px%2010px%7Dtable%2EdataTable%2Erow%2Dborder%20tbody%20th%2Ctable%2EdataTable%2Erow%2Dborder%20tbody%20td%2Ctable%2EdataTable%2Edisplay%20tbody%20th%2Ctable%2EdataTable%2Edisplay%20tbody%20td%7Bborder%2Dtop%3A1px%20solid%20%23ddd%7Dtable%2EdataTable%2Erow%2Dborder%20tbody%20tr%3Afirst%2Dchild%20th%2Ctable%2EdataTable%2Erow%2Dborder%20tbody%20tr%3Afirst%2Dchild%20td%2Ctable%2EdataTable%2Edisplay%20tbody%20tr%3Afirst%2Dchild%20th%2Ctable%2EdataTable%2Edisplay%20tbody%20tr%3Afirst%2Dchild%20td%7Bborder%2Dtop%3Anone%7Dtable%2EdataTable%2Ecell%2Dborder%20tbody%20th%2Ctable%2EdataTable%2Ecell%2Dborder%20tbody%20td%7Bborder%2Dtop%3A1px%20solid%20%23ddd%3Bborder%2Dright%3A1px%20solid%20%23ddd%7Dtable%2EdataTable%2Ecell%2Dborder%20tbody%20tr%20th%3Afirst%2Dchild%2Ctable%2EdataTable%2Ecell%2Dborder%20tbody%20tr%20td%3Afirst%2Dchild%7Bborder%2Dleft%3A1px%20solid%20%23ddd%7Dtable%2EdataTable%2Ecell%2Dborder%20tbody%20tr%3Afirst%2Dchild%20th%2Ctable%2EdataTable%2Ecell%2Dborder%20tbody%20tr%3Afirst%2Dchild%20td%7Bborder%2Dtop%3Anone%7Dtable%2EdataTable%2Estripe%20tbody%20tr%2Eodd%2Ctable%2EdataTable%2Edisplay%20tbody%20tr%2Eodd%7Bbackground%2Dcolor%3A%23f9f9f9%7D
|
||
|
<link href="data:text/css;charset=utf-8,%0Atable%2EdataTable%20tr%2Eselected%20td%2C%20table%2EdataTable%20td%2Eselected%20%7B%0Abackground%2Dcolor%3A%20%23b0bed9%20%21important%3B%0A%7D%0A%0A%2EdataTables%5FscrollBody%20%2EdataTables%5Fsizing%20%7B%0Avisibility%3A%20hidden%3B%0A%7D%0A%0Adiv%2Edatatables%20%7B%0Acolor%3A%20%23333%3B%0A%7D%0A" rel="stylesheet" />
|
||
|
<script src="data:application/x-javascript;base64,LyohCiAgIENvcHlyaWdodCAyMDA4LTIwMTkgU3ByeU1lZGlhIEx0ZC4KCiBUaGlzIHNvdXJjZSBmaWxlIGlzIGZyZWUgc29mdHdhcmUsIGF2YWlsYWJsZSB1bmRlciB0aGUgZm9sbG93aW5nIGxpY2Vuc2U6CiAgIE1JVCBsaWNlbnNlIC0gaHR0cDovL2RhdGF0YWJsZXMubmV0L2xpY2Vuc2UKCiBUaGlzIHNvdXJjZSBmaWxlIGlzIGRpc3RyaWJ1dGVkIGluIHRoZSBob3BlIHRoYXQgaXQgd2lsbCBiZSB1c2VmdWwsIGJ1dAogV0lUSE9VVCBBTlkgV0FSUkFOVFk7IHdpdGhvdXQgZXZlbiB0aGUgaW1wbGllZCB3YXJyYW50eSBvZiBNRVJDSEFOVEFCSUxJVFkKIG9yIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFLiBTZWUgdGhlIGxpY2Vuc2UgZmlsZXMgZm9yIGRldGFpbHMuCgogRm9yIGRldGFpbHMgcGxlYXNlIHJlZmVyIHRvOiBodHRwOi8vd3d3LmRhdGF0YWJsZXMubmV0CiBEYXRhVGFibGVzIDEuMTAuMjAKIMKpMjAwOC0yMDE5IFNwcnlNZWRpYSBMdGQgLSBkYXRhdGFibGVzLm5ldC9saWNlbnNlCiovCnZhciAkanNjb21wPSRqc2NvbXB8fHt9OyRqc2NvbXAuc2NvcGU9e307JGpzY29tcC5maW5kSW50ZXJuYWw9ZnVuY3Rpb24oZix6LHkpe2YgaW5zdGFuY2Vv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arotate%28360deg%29%3Btransform%3Arotate%28360deg%29%7D%7D%40%2Dms%2Dkeyframes%20dtb%2Dspinner%7B100%25%7B%2Dms%2Dtransform%3Arotate%28360deg%29%3Btransform%3Arotate%28360deg%29%7D%7D%40%2Dwebkit%2Dkeyframes%20dtb%2Dspinner%7B100%25%7B%2Dwebkit%2Dtransform%3Arotate%28360deg%29%3Btransform%3Arotate%28360deg%29%7D%7D%40%2Dmoz%2Dkeyframes%20dtb%2Dspinner%7B100%25%7B%2Dmoz%2Dtransform%3Arotate%28360deg%29%3Btransform%3Arotate%28360deg%29%7D%7Ddiv%2Edt%2Dbutton%2Dinfo%7Bposition%3Afixed%3Btop%3A50%25%3Bleft%3A50%25%3Bwidth%3A400px%3Bmargin%2Dtop%3A%2D100px%3Bmargin%2Dleft%3A%2D200px%3Bbackground%2Dcolor%3Awhite%3Bborder%3A2px%20solid%20%23111%3Bbox%2Dshadow%3A3px%203px%208px%20rgba%280%2C0%2C0%2C0%2E3%29%3Bborder%2Dradius%3A3px%3Btext%2Dalign%3Acenter%3Bz%2Dindex%3A21%7Ddiv%2Edt%2Dbutton%2Dinfo%20h2%7Bpadding%3A0%2E5em%3Bmargin%3A0%3Bfont%2Dweight%3Anormal%3Bborder%2Dbottom%3A1px%20solid%20%23ddd%3Bbackground%2Dcolor%3A%23f3f3f3%7Ddiv%2Edt%2Dbutton%2Dinfo%3Ediv%7Bpadding%3A1em%7Ddiv%2Edt%2Dbutton%2Dcollection%2Dtitle%7Btext%2Dalign%3Acenter%3Bpadding%3A0%2E3em%200%200%2E5em%3Bfont%2Dsize%3A0%2E9em%7Ddiv%2Edt%2Dbutton%2Dcollection%2Dtitle%3Aempty%7Bdisplay%3Anone%7Dbutton%2Edt%2Dbutton%2Cdiv%2Edt%2Dbutton%2Ca%2Edt%2Dbutton%7Bposition%3Arelative%3Bdisplay%3Ainline%2Dblock%3Bbox%2Dsizing%3Aborder%2Dbox%3Bmargin%2Dright%3A0%2E333em%3Bmargin%2Dbottom%3A0%2E333em%3Bpadding%3A0%2E5em%201em%3Bborder%3A1px%20solid%20%23999%3Bborder%2Dradius%3A2px%3Bcursor%3Apointer%3Bfont%2Dsize%3A0%2E88em%3Bline%2Dheight%3A1%2E6em%3Bcolor%3Ablack%3Bwhite%2Dspace%3Anowrap%3Boverflow%3Ahidden%3Bbackground%2Dcolor%3A%23e9e9e9%3Bbackground%2Dimage%3A%2Dwebkit%2Dlinear%2Dgradient%28top%2C%20%23fff%200%25%2C%20%23e9e9e9%20100%25%29%3Bbackground%2Dimage%3A%2Dmoz%2Dlinear%2Dgradient%28top%2C%20%23fff%200%25%2C%20%23e9e9e9%20100%25%29%3Bbackground%2Dimage%3A%2Dms%2Dlinear%2Dgradient%28top%2C%20%23fff%200%25%2C%20%23e9e9e9%20100%25%29%3Bbackground%2Dimage%3A%2Do%2Dlinear%2Dgradient%28top%2C%20%23fff%200%25%2C%20%23e9e9e9%20100%25%29%3Bbackground%2Dimage%3Alinear%2Dgradient%28to%20bottom%2C%20%23fff%200%25%2C%20%23e9e9e9%20100%25%29%3Bfilter%3Aprogid%3ADXImageTransform%2EMicrosoft%2Egradient%28GradientType%3D0%2CStartColorStr%3D%27white%27%2C%20EndColorStr%3D%27%23e9e9e9%27%29%3B%2Dwebkit%2Duser%2Dselect%3Anone%3B%2Dmoz%2Duser%2Dselect%3Anone%3B%2Dms%2Duser%2Dselect%3Anone%3Buser%2Dselect%3Anone%3Btext%2Ddecoration%3Anone%3Boutline%3Anone%3Btext%2Doverflow%3Aellipsis%7Dbutton%2Edt%2Dbutton%2Edisabled%2Cdiv%2Edt%2Dbutton%2Edisabled%2Ca%2Edt%2Dbutton%2Edisabled%7Bcolor%3A%23999%3Bborder%3A1px%20solid%20%23d0d0d0%3Bcursor%3Adefault%3Bbackground%2Dcolor%3A%23f9f9f9%3Bbackground%2Dimage%3A%2Dwebkit%2Dlinear%2Dgradient%28top%2C%20%23fff%200%25%2C%20%23f9f9f9%20100%25%29%3Bbackground%2Dimage%3A%2Dmoz%2Dlinear%2Dgradient%28top%2C%20%23fff%200%25%2C%20%23f9f9f9%20100%25%29%3Bbackground%2Dimage%3A%2Dms%2Dlinear%2Dgradient%28top%2C%20%23fff%200%25%2C%20%23f9f9f9%20100%25%29%3Bbackground%2Dimage%3A%2Do%2Dlinear%2Dgradient%28top%2C%20%23fff%200%25%2C%20%23f9f9f9%20100%25%29%3Bbackground%2Dimage%3Alinear%2Dgradient%28to%20bottom%2C%20%23fff%200%25%2C%20%23f9f9f9%20100%25%29%3Bfilter%3Aprogid%3ADXImageTransform%2EMicrosoft%2Egradient%28GradientType%3D0%2CStartColorStr%3D%27%23ffffff%27%2C%20EndColorStr%3D%27%23f9f9f9%27%29%7Dbutton%2Edt%2Dbutton%3Aactive%3Anot%28%2Edisabled%29%2Cbutton%2Edt%2Dbutton%2Eactive%3Anot%28%2Edisabled%29%2Cdiv%2Edt%2Dbutton%3Aactive%3Anot%28%2Edisabled%29%2Cdiv%2Edt%2Dbutton%2Eactive%3Anot%28%2Edisabled%29%2Ca%2Edt%2Dbutton%3Aactive%3Anot%28%2Edisabled%29%2Ca%2Edt%2Dbutton%2Eactive%3Anot%28%2Edisabled%29%7Bbackground%2Dcolor%3A%23e2e2e2%3Bbackground%2Dimage%3A%2Dwebkit%2Dlinear%2Dgradient%28top%2C%20%23f3f3f3%200%25%2C%20%23e2e2e2%20100%25%29%3Bbackground%2Dimage%3A%2Dmoz%2Dlinear%2Dgradient%28top%2C%20%23f3f3f3%200%25%2C%20%23e2e2e2%20100%25%29%3Bbackground%2Dimage%3A%2
|
||
|
<script src="data:application/x-javascript;base64,LyohCiBCdXR0b25zIGZvciBEYXRhVGFibGVzIDEuNi4xCiDCqTIwMTYtMjAxOSBTcHJ5TWVkaWEgTHRkIC0gZGF0YXRhYmxlcy5uZXQvbGljZW5zZQoqLwooZnVuY3Rpb24oZCl7ImZ1bmN0aW9uIj09PXR5cGVvZiBkZWZpbmUmJmRlZmluZS5hbWQ/ZGVmaW5lKFsian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WwsYT1jKHRoaXMpLmNsb25lKClbMF07CiJsaW5rIj09PWEubm9kZU5hbWUudG9Mb3dlckNhc2UoKSYmKGEuaHJlZj1wKGEuaHJlZikpO2w9YithLm91dGVySFRNTH0pO3RyeXtmLmRvY3VtZW50LmhlYWQuaW5uZXJIVE1MPWx9Y2F0Y2godCl7YyhmLmRvY3VtZW50LmhlYWQpLmh0bWwobCl9Zi5kb2N1bWVudC5ib2R5LmlubmVySFRNTD0iPGgxPiIrZC50aXRsZSsiPC9oMT48ZGl2PiIrKGQubWVzc2FnZVRvcHx8IiIpKyI8L2Rpdj4iK2grIjxkaXY+IisoZC5tZXNzYWdlQm90dG9tfHwiIikrIjwvZGl2PiI7YyhmLmRvY3VtZW50LmJvZHkpLmFkZENsYXNzKCJkdC1wcmludC12aWV3Iik7YygiaW1nIixmLmRvY3VtZW50LmJvZHkpLmVhY2goZnVuY3Rpb24oYixhKXthLnNldEF0dHJpYnV0ZSgic3JjIixwKGEuZ2V0QXR0cmlidXRlKCJzcmMiKSkpfSk7Zy5jdXN0b21pemUmJmcuY3VzdG9taXplKGYsZyxhKTtiPWZ1bmN0aW9uKCl7Zy5hdXRvUHJpbnQmJihmLnByaW50KCksZi5jbG9zZSgpKX07bmF2aWdhdG9yLnVzZXJBZ2VudC5tYXRjaCgvVHJpZGVudFwvXGQuXGQvKT8KYigpOmYuc2V0VGltZW91dChiLDFFMyl9LHRpdGxlOiIqIixtZXNzYWdlVG9wOiIqIixtZXNzYWdlQm90dG9tOiIqIixleHBvcnRPcHRpb25zOnt9LGhlYWRlcjohMCxmb290ZXI6ITEsYXV0b1ByaW50OiEwLGN1c3RvbWl6ZTpudWxsfTtyZXR1cm4gay5CdXR0b25zfSk7Cg=="></script>
|
||
|
<link href="data:text/css;charset=utf-8,table%2EDTFC%5FCloned%20thead%2Ctable%2EDTFC%5FCloned%20tfoot%7Bbackground%2Dcolor%3Awhite%7Ddiv%2EDTFC%5FBlocker%7Bbackground%2Dcolor%3Awhite%7Ddiv%2EDTFC%5FLeftWrapper%20table%2EdataTable%2Cdiv%2EDTFC%5FRightWrapper%20table%2EdataTable%7Bmargin%2Dbottom%3A0%3Bz%2Dindex%3A2%7Ddiv%2EDTFC%5FLeftWrapper%20table%2EdataTable%2Eno%2Dfooter%2Cdiv%2EDTFC%5FRightWrapper%20table%2EdataTable%2Eno%2Dfooter%7Bborder%2Dbottom%3Anone%7D%0A" rel="stylesheet" />
|
||
|
<script src="data:application/x-javascript;base64,LyohCiAgIENvcHlyaWdodCAyMDEwLTIwMTggU3ByeU1lZGlhIEx0ZC4KCiBUaGlzIHNvdXJjZSBmaWxlIGlzIGZyZWUgc29mdHdhcmUsIGF2YWlsYWJsZSB1bmRlciB0aGUgZm9sbG93aW5nIGxpY2Vuc2U6CiAgIE1JVCBsaWNlbnNlIC0gaHR0cDovL2RhdGF0YWJsZXMubmV0L2xpY2Vuc2UvbWl0CgogVGhpcyBzb3VyY2UgZmlsZSBpcyBkaXN0cmlidXRlZCBpbiB0aGUgaG9wZSB0aGF0IGl0IHdpbGwgYmUgdXNlZnVsLCBidXQKIFdJVEhPVVQgQU5ZIFdBUlJBTlRZOyB3aXRob3V0IGV2ZW4gdGhlIGltcGxpZWQgd2FycmFudHkgb2YgTUVSQ0hBTlRBQklMSVRZCiBvciBGSVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRS4gU2VlIHRoZSBsaWNlbnNlIGZpbGVzIGZvciBkZXRhaWxzLgoKIEZvciBkZXRhaWxzIHBsZWFzZSByZWZlciB0bzogaHR0cDovL3d3dy5kYXRhdGFibGVzLm5ldAogRml4ZWRDb2x1bW5zIDMuMy4wCiDCqTIwMTAtMjAxOCBTcHJ5TWVkaWEgTHRkIC0gZGF0YXRhYmxlcy5uZXQvbGljZW5zZQoqLwp2YXIgJGpzY29tcD0kanNjb21wfHx7fTskanNjb21wLnNjb3BlPXt9OyRqc2NvbXAuZmluZEludGVybmFsPWZ1bmN0aW9uKGMsZyxlKXtjIGlu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aWdodDpmdW5jdGlvbihhKXtkZ
|
||
|
<link href="data:text/css;charset=utf-8,%0A%2Econtainer%2Dfluid%2Ecrosstalk%2Dbscols%20%7B%0Amargin%2Dleft%3A%20%2D30px%3B%0Amargin%2Dright%3A%20%2D30px%3B%0Awhite%2Dspace%3A%20normal%3B%0A%7D%0A%0Abody%20%3E%20%2Econtainer%2Dfluid%2Ecrosstalk%2Dbscols%20%7B%0Amargin%2Dleft%3A%20auto%3B%0Amargin%2Dright%3A%20auto%3B%0A%7D%0A%2Ecrosstalk%2Dinput%2Dcheckboxgroup%20%2Ecrosstalk%2Doptions%2Dgroup%20%2Ecrosstalk%2Doptions%2Dcolumn%20%7B%0Adisplay%3A%20inline%2Dblock%3B%0Apadding%2Dright%3A%2012px%3B%0Avertical%2Dalign%3A%20top%3B%0A%7D%0A%40media%20only%20screen%20and%20%28max%2Dwidth%3A480px%29%20%7B%0A%2Ecrosstalk%2Dinput%2Dcheckboxgroup%20%2Ecrosstalk%2Doptions%2Dgroup%20%2Ecrosstalk%2Doptions%2Dcolumn%20%7B%0Adisplay%3A%20block%3B%0Apadding%2Dright%3A%20inherit%3B%0A%7D%0A%7D%0A" rel="stylesheet" />
|
||
|
<script src="data:application/x-javascript;base64,IWZ1bmN0aW9uIG8odSxhLGwpe2Z1bmN0aW9uIHMobixlKXtpZighYVtuXSl7aWYoIXVbbl0pe3ZhciB0PSJmdW5jdGlvbiI9PXR5cGVvZiByZXF1aXJlJiZyZXF1aXJlO2lmKCFlJiZ0KXJldHVybiB0KG4sITApO2lmKGYpcmV0dXJuIGYobiwhMCk7dmFyIHI9bmV3IEVycm9yKCJDYW5ub3QgZmluZCBtb2R1bGUgJyIrbisiJyIpO3Rocm93IHIuY29kZT0iTU9EVUxFX05PVF9GT1VORCIscn12YXIgaT1hW25dPXtleHBvcnRzOnt9fTt1W25dWzBdLmNhbGwoaS5leHBvcnRzLGZ1bmN0aW9uKGUpe3ZhciB0PXVbbl1bMV1bZV07cmV0dXJuIHMod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YXI9bnVsbCx0aGlzLl9maWx0ZXJTZXQ9bnVsbCksdGhpcy5fZ3JvdXA9ZSkpKXtlPSgwLHUuZGVmYXVsdCkoZSksdGhpcy5fZmlsdGVyU2V0PSh0PWUudmFyKCJmaWx0ZXJzZXQiKSwobj10LmdldCgpKXx8KG49bmV3IG8uZGVmYXVsdCx0LnNldChuKSksbiksdGhpcy5fZmlsdGVyVmFyPSgwLHUuZGVmYXVsdCkoZSkudmFyKCJmaWx0ZXIiKTt2YXIgaT10aGlzLl9maWx0ZXJWYXIub24oImNoYW5nZSIsZnVuY3Rpb24oZSl7ci5fZXZlbnRSZWxheS50cmlnZ2VyKCJjaGFuZ2UiLGUscil9KTt0aGlzLl92YXJPbkNoYW5nZVN1Yj1pfX19LHtrZXk6Il9tZXJnZUV4d
|
||
|
<link href="data:text/css;charset=utf-8,select%2Ebs%2Dselect%2Dhidden%2Cselect%2Eselectpicker%7Bdisplay%3Anone%21important%7D%2Ebootstrap%2Dselect%7Bwidth%3A220px%5C9%7D%2Ebootstrap%2Dselect%3E%2Edropdown%2Dtoggle%7Bwidth%3A100%25%3Bpadding%2Dright%3A25px%3Bz%2Dindex%3A1%7D%2Ebootstrap%2Dselect%3E%2Edropdown%2Dtoggle%2Ebs%2Dplaceholder%2C%2Ebootstrap%2Dselect%3E%2Edropdown%2Dtoggle%2Ebs%2Dplaceholder%3Aactive%2C%2Ebootstrap%2Dselect%3E%2Edropdown%2Dtoggle%2Ebs%2Dplaceholder%3Afocus%2C%2Ebootstrap%2Dselect%3E%2Edropdown%2Dtoggle%2Ebs%2Dplaceholder%3Ahover%7Bcolor%3A%23999%7D%2Ebootstrap%2Dselect%3Eselect%7Bposition%3Aabsolute%21important%3Bbottom%3A0%3Bleft%3A50%25%3Bdisplay%3Ablock%21important%3Bwidth%3A%2E5px%21important%3Bheight%3A100%25%21important%3Bpadding%3A0%21important%3Bopacity%3A0%21important%3Bborder%3Anone%7D%2Ebootstrap%2Dselect%3Eselect%2Emobile%2Ddevice%7Btop%3A0%3Bleft%3A0%3Bdisplay%3Ablock%21important%3Bwidth%3A100%25%21important%3Bz%2Dindex%3A2%7D%2Eerror%20%2Ebootstrap%2Dselect%20%2Edropdown%2Dtoggle%2C%2Ehas%2Derror%20%2Ebootstrap%2Dselect%20%2Edropdown%2Dtoggle%7Bborder%2Dcolor%3A%23b94a48%7D%2Ebootstrap%2Dselect%2Efit%2Dwidth%7Bwidth%3Aauto%21important%7D%2Ebootstrap%2Dselect%3Anot%28%5Bclass%2A%3Dcol%2D%5D%29%3Anot%28%5Bclass%2A%3Dform%2Dcontrol%5D%29%3Anot%28%2Einput%2Dgroup%2Dbtn%29%7Bwidth%3A220px%7D%2Ebootstrap%2Dselect%20%2Edropdown%2Dtoggle%3Afocus%7Boutline%3Athin%20dotted%20%23333%21important%3Boutline%3A5px%20auto%20%2Dwebkit%2Dfocus%2Dring%2Dcolor%21important%3Boutline%2Doffset%3A%2D2px%7D%2Ebootstrap%2Dselect%2Eform%2Dcontrol%7Bmargin%2Dbottom%3A0%3Bpadding%3A0%3Bborder%3Anone%7D%2Ebootstrap%2Dselect%2Eform%2Dcontrol%3Anot%28%5Bclass%2A%3Dcol%2D%5D%29%7Bwidth%3A100%25%7D%2Ebootstrap%2Dselect%2Eform%2Dcontrol%2Einput%2Dgroup%2Dbtn%7Bz%2Dindex%3Aauto%7D%2Ebootstrap%2Dselect%2Eform%2Dcontrol%2Einput%2Dgroup%2Dbtn%3Anot%28%3Afirst%2Dchild%29%3Anot%28%3Alast%2Dchild%29%3E%2Ebtn%7Bborder%2Dradius%3A0%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%3Anot%28%2Einput%2Dgroup%2Dbtn%29%2C%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%5Bclass%2A%3Dcol%2D%5D%7Bfloat%3Anone%3Bdisplay%3Ainline%2Dblock%3Bmargin%2Dleft%3A0%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2Edropdown%2Dmenu%2Dright%2C%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%5Bclass%2A%3Dcol%2D%5D%2Edropdown%2Dmenu%2Dright%2C%2Erow%20%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%5Bclass%2A%3Dcol%2D%5D%2Edropdown%2Dmenu%2Dright%7Bfloat%3Aright%7D%2Eform%2Dgroup%20%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2C%2Eform%2Dhorizontal%20%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2C%2Eform%2Dinline%20%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%7Bmargin%2Dbottom%3A0%7D%2Eform%2Dgroup%2Dlg%20%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2Eform%2Dcontrol%2C%2Eform%2Dgroup%2Dsm%20%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2Eform%2Dcontrol%7Bpadding%3A0%7D%2Eform%2Dinline%20%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%20%2Eform%2Dcontrol%7Bwidth%3A100%25%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2Edisabled%2C%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%3E%2Edisabled%7Bcursor%3Anot%2Dallowed%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2Edisabled%3Afocus%2C%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%3E%2Edisabled%3Afocus%7Boutline%3A0%21important%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2Ebs%2Dcontainer%7Bposition%3Aabsolute%3Bheight%3A0%21important%3Bpadding%3A0%21important%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%2Ebs%2Dcontainer%20%2Edropdown%2Dmenu%7Bz%2Dindex%3A1060%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%20%2Edropdown%2Dtoggle%20%2Efilter%2Doption%7Bdisplay%3Ainline%2Dblock%3Boverflow%3Ahidden%3Bwidth%3A100%25%3Btext%2Dalign%3Aleft%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%20%2Edropdown%2Dtoggle%20%2Ecaret%7Bposition%3Aabsolute%3Btop%3A50%25%3Bright%3A12px%3Bmargin%2Dtop%3A%2D2px%3Bvertical%2Dalign%3Amiddle%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%5Bclass%2A%3Dcol%2D%5D%20%2Edropdown%2Dtoggle%7Bwidth%3A100%25%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%20%2Edropdown%2Dmenu%7Bmin%2Dwidth%3A100%25%3B%2Dwebkit%2Dbox%2Dsizing%3Aborder%2Dbox%3B%2Dmoz%2Dbox%2Dsizing%3Aborder%2Dbox%3Bbox%2Dsizing%3Aborder%2Dbox%7D%2Ebootstrap%2Dselect%2Ebtn%2Dgroup%20%2Edropdown%2Dmenu%2Einner%7Bposition%3Astatic
|
||
|
<script src="data:application/x-javascript;base64,LyohCiAqIEJvb3RzdHJhcC1zZWxlY3QgdjEuMTIuMSAoaHR0cDovL3NpbHZpb21vcmV0by5naXRodWIuaW8vYm9vdHN0cmFwLXNlbGVjdCkKICoKICogQ29weXJpZ2h0IDIwMTMtMjAxNiBib290c3RyYXAtc2VsZWN0CiAqIExpY2Vuc2VkIHVuZGVyIE1JVCAoaHR0cHM6Ly9naXRodWIuY29tL3NpbHZpb21vcmV0by9ib290c3RyYXAtc2VsZWN0L2Jsb2IvbWFzdGVyL0xJQ0VOU0UpCiAqLwohZnVuY3Rpb24oYSxiKXsiZnVuY3Rpb24iPT10eXBlb2YgZGVmaW5lJiZkZWZpbmUuYW1kP2RlZmluZShbImpxdWVyeSJdLGZ1bmN0aW9uKGEpe3JldHVybiBiKGEpfSk6Im9iamVjdCI9PXR5cGVvZiBtb2R1bGUmJm1vZHVsZS5leHBvcnRzP21vZHVsZS5leHBvcnRzPWIocmVxdWlyZSgianF1ZXJ5IikpOmIoYS5qUXVlcnkpfSh0aGlzLGZ1bmN0aW9uKGEpeyFmdW5jdG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V0dXJuIGMmJiFkLnVzZURlZmF1bHQmJmEoYikuZGF0YSgic2VsZWN0ZWQiLCEwKSxkLl9zZXQuYXBwbHkodGhpcyxhcmd1bWVudHMpfTt2YXIgZT1udWxsO2EuZm4udHJpZ2dlck5hdGl2ZT1mdW5jdGlvbihhKXt2YXIgYixjPXRoaXNbMF07Yy5kaXNwYXRjaEV2ZW50PygiZnVuY3Rpb24iPT10eXBlb2YgRXZlbnQ/Yj1uZXcgRXZlbnQoYSx7YnViYmxlc
|
||
|
<script src="data:application/x-javascript;base64,SFRNTFdpZGdldHMud2lkZ2V0KHsKCiAgbmFtZTogJ2Jzc2VsZWN0UicsCgogIHR5cGU6ICdvdXRwdXQnLAoKICBmYWN0b3J5OiBmdW5jdGlvbihlbCwgd2lkdGgsIGhlaWdodCkgewoKICAgIC8vIFRPRE86IGRlZmluZSBzaGFyZWQgdmFyaWFibGVzIGZvciB0aGlzIGluc3RhbmNlCgogICAgcmV0dXJuIHsKCiAgICAgIHJlbmRlclZhbHVlOiBmdW5jdGlvbigpIHsKCiAgICAgIH0sCgogICAgICByZXNpemU6IGZ1bmN0aW9uKHdpZHRoLCBoZWlnaHQpIHsKCiAgICAgICAgLy8gVE9ETzogY29kZSB0byByZS1yZW5kZXIgdGhlIHdpZGdldCB3aXRoIGEgbmV3IHNpemUKCiAgICAgIH0KCiAgICB9OwogIH0KfSk7"></script>
|
||
|
|
||
|
<style type="text/css">
|
||
|
code{white-space: pre-wrap;}
|
||
|
span.smallcaps{font-variant: small-caps;}
|
||
|
span.underline{text-decoration: underline;}
|
||
|
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
||
|
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||
|
ul.task-list{list-style: none;}
|
||
|
</style>
|
||
|
|
||
|
<style type="text/css">code{white-space: pre;}</style>
|
||
|
<style type="text/css">
|
||
|
pre:not([class]) {
|
||
|
background-color: white;
|
||
|
}
|
||
|
</style>
|
||
|
<script type="text/javascript">
|
||
|
if (window.hljs) {
|
||
|
hljs.configure({languages: []});
|
||
|
hljs.initHighlightingOnLoad();
|
||
|
if (document.readyState && document.readyState === "complete") {
|
||
|
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
|
||
|
|
||
|
<style type="text/css">
|
||
|
h1 {
|
||
|
font-size: 34px;
|
||
|
}
|
||
|
h1.title {
|
||
|
font-size: 38px;
|
||
|
}
|
||
|
h2 {
|
||
|
font-size: 30px;
|
||
|
}
|
||
|
h3 {
|
||
|
font-size: 24px;
|
||
|
}
|
||
|
h4 {
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
h5 {
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
h6 {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
.table th:not([align]) {
|
||
|
text-align: left;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<style type="text/css">
|
||
|
.main-container {
|
||
|
max-width: 940px;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
}
|
||
|
code {
|
||
|
color: inherit;
|
||
|
background-color: rgba(0, 0, 0, 0.04);
|
||
|
}
|
||
|
img {
|
||
|
max-width:100%;
|
||
|
}
|
||
|
.tabbed-pane {
|
||
|
padding-top: 12px;
|
||
|
}
|
||
|
.html-widget {
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
button.code-folding-btn:focus {
|
||
|
outline: none;
|
||
|
}
|
||
|
summary {
|
||
|
display: list-item;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
|
||
|
|
||
|
<!-- tabsets -->
|
||
|
|
||
|
<style type="text/css">
|
||
|
.tabset-dropdown > .nav-tabs {
|
||
|
display: inline-table;
|
||
|
max-height: 500px;
|
||
|
min-height: 44px;
|
||
|
overflow-y: auto;
|
||
|
background: white;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
.tabset-dropdown > .nav-tabs > li.active:before {
|
||
|
content: "";
|
||
|
font-family: 'Glyphicons Halflings';
|
||
|
display: inline-block;
|
||
|
padding: 10px;
|
||
|
border-right: 1px solid #ddd;
|
||
|
}
|
||
|
|
||
|
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
||
|
content: "";
|
||
|
border: none;
|
||
|
}
|
||
|
|
||
|
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
||
|
content: "";
|
||
|
font-family: 'Glyphicons Halflings';
|
||
|
display: inline-block;
|
||
|
padding: 10px;
|
||
|
border-right: 1px solid #ddd;
|
||
|
}
|
||
|
|
||
|
.tabset-dropdown > .nav-tabs > li.active {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.tabset-dropdown > .nav-tabs > li > a,
|
||
|
.tabset-dropdown > .nav-tabs > li > a:focus,
|
||
|
.tabset-dropdown > .nav-tabs > li > a:hover {
|
||
|
border: none;
|
||
|
display: inline-block;
|
||
|
border-radius: 4px;
|
||
|
background-color: transparent;
|
||
|
}
|
||
|
|
||
|
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
||
|
display: block;
|
||
|
float: none;
|
||
|
}
|
||
|
|
||
|
.tabset-dropdown > .nav-tabs > li {
|
||
|
display: none;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<!-- code folding -->
|
||
|
<style type="text/css">
|
||
|
.code-folding-btn { margin-bottom: 4px; }
|
||
|
</style>
|
||
|
|
||
|
|
||
|
|
||
|
<style type="text/css">
|
||
|
|
||
|
#TOC {
|
||
|
margin: 25px 0px 20px 0px;
|
||
|
}
|
||
|
@media (max-width: 768px) {
|
||
|
#TOC {
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media print {
|
||
|
.toc-content {
|
||
|
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
||
|
float: right;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.toc-content {
|
||
|
padding-left: 30px;
|
||
|
padding-right: 40px;
|
||
|
}
|
||
|
|
||
|
div.main-container {
|
||
|
max-width: 1200px;
|
||
|
}
|
||
|
|
||
|
div.tocify {
|
||
|
width: 20%;
|
||
|
max-width: 260px;
|
||
|
max-height: 85%;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 768px) and (max-width: 991px) {
|
||
|
div.tocify {
|
||
|
width: 25%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (max-width: 767px) {
|
||
|
div.tocify {
|
||
|
width: 100%;
|
||
|
max-width: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.tocify ul, .tocify li {
|
||
|
line-height: 20px;
|
||
|
}
|
||
|
|
||
|
.tocify-subheader .tocify-item {
|
||
|
font-size: 0.90em;
|
||
|
}
|
||
|
|
||
|
.tocify .list-group-item {
|
||
|
border-radius: 0px;
|
||
|
}
|
||
|
|
||
|
|
||
|
</style>
|
||
|
|
||
|
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
|
||
|
<div class="container-fluid main-container">
|
||
|
|
||
|
|
||
|
<!-- setup 3col/9col grid for toc_float and main content -->
|
||
|
<div class="row-fluid">
|
||
|
<div class="col-xs-12 col-sm-4 col-md-3">
|
||
|
<div id="TOC" class="tocify">
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<div class="fluid-row" id="header">
|
||
|
|
||
|
<div class="btn-group pull-right">
|
||
|
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span>Code</span> <span class="caret"></span></button>
|
||
|
<ul class="dropdown-menu" style="min-width: 50px;">
|
||
|
<li><a id="rmd-show-all-code" href="#">Show All Code</a></li>
|
||
|
<li><a id="rmd-hide-all-code" href="#">Hide All Code</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<h1 class="title toc-ignore">Generating <em>in silico</em> TCR repertoires</h1>
|
||
|
<h4 class="author">Maria S. Benitez-Cantos</h4>
|
||
|
<h4 class="date">12/02/2021</h4>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<style>
|
||
|
.superbigimage{
|
||
|
overflow-x:scroll;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.superbigimage img{
|
||
|
max-width: none;
|
||
|
}
|
||
|
|
||
|
|
||
|
</style>
|
||
|
<style>
|
||
|
.vscroll-plot {
|
||
|
height: 400px;
|
||
|
overflow-y: scroll;
|
||
|
overflow-x: hidden;
|
||
|
}
|
||
|
</style>
|
||
|
<div class="panel panel-info">
|
||
|
<div class="panel-heading">
|
||
|
<strong> What's new?</strong>
|
||
|
</div>
|
||
|
<div class="panel-body">
|
||
|
<ul>
|
||
|
<li>Ran sequencing simulator with new error rates from the literature (lower than the first test): still have a lot of out-of-frame HVRs :(</li>
|
||
|
<li>Compared V and J alignment score and identity distributions among sample 111L and the two simulated repertoires.
|
||
|
</div></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<pre class="r"><code>######### LOAD PACKAGES ##########
|
||
|
library(immuneSIM)
|
||
|
library(DT)
|
||
|
library(Biostrings)
|
||
|
library(ggplot2)
|
||
|
library(ggpubr)
|
||
|
library(patchwork)
|
||
|
library(Biostrings)
|
||
|
library(msa)
|
||
|
library(dplyr)
|
||
|
library(webr)
|
||
|
library(plyr)
|
||
|
library(ggtree)
|
||
|
library(stringr)
|
||
|
library(bsselectR)
|
||
|
library(WeightedCluster)
|
||
|
library(apcluster)
|
||
|
library(reshape2)</code></pre>
|
||
|
<div id="simulating-tcr-repertoires" class="section level1">
|
||
|
<h1><span class="header-section-number">1</span> Simulating TCR repertoires</h1>
|
||
|
<div id="immunesim-r-package" class="section level2 unnumbered">
|
||
|
<h2><code>immuneSIM</code> R package</h2>
|
||
|
<ul>
|
||
|
<li><a href="https://immunesim.readthedocs.io/en/latest/">Documentation</a></li>
|
||
|
<li><a href="https://academic.oup.com/bioinformatics/article/36/11/3594/5802461">Publication on <em>Bioinformatics</em></a></li>
|
||
|
</ul>
|
||
|
<p><code>immuneSIM</code> enables in silico generation of single and paired chain human and mouse B- and T-cell repertoires with user-defined tunable properties to provide the user with experimental-like (or aberrant) data to benchmark their repertoire analysis methods.</p>
|
||
|
<div class="figure">
|
||
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAGCUAAA+wCAYAAABqSPKUAAAACXBIWXMAAC4jAAAuIwF4pT92AAAgAElEQVR42uzdXXDc1Zkn4DMysqM2aqNtS7SC2yCZ2DOxsRUKRR7tgsmHSQ0JZifMTi1hoSiKZC+YOGylErp2qZpceFNNpqhKXEWlhkm5EnsSbz7s8OWlAsZAGGQZERt1wASv5I4tOWpb7iiSQiuWYmUvHFccBmy1Prvbz3ODDH3+Ouc953+kC/P+/uIPf/hDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyk+FEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQHkSSgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVKKAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJQpoQQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFCmhBIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAECZEkoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlSigBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUKaEEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQpoQSAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAmRJKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZUooAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlCmhBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUKaEEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQJkSSgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVKK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AAAAAAAAAAAAAAICS06gEZwglgPO7XAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoOTUKcEZQgng/BqUAAAAAAA
|
||
|
<p class="caption"><strong>Figure 1.</strong> Package functionality overview.</p>
|
||
|
</div>
|
||
|
<div id="methods-overview" class="section level3 unnumbered">
|
||
|
<h3>Methods overview</h3>
|
||
|
<div class="figure">
|
||
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAMACAYAAAC6uhUNAAABWWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGBSSSwoyGFhYGDIzSspCnJ3UoiIjFJgv8/AxcDHwMvAwWCZmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsisp7v5ZqTvdTvrvc8lb6906QxM9SiAKyW1OBlI/wHi1OSCohIGBsYUIFu5vKQAxO4AskWKgI4CsueA2OkQ9gYQOwnCPgJWExLkDGTfALIVkjMSgWYw/gCydZKQxNOR2FB7QYDbJbO4ICexUiHAmIBryQAlqRUlINo5v6CyKDM9o0TBERhKqQqeecl6OgpGBoamDAygMIeo/hwIDktGsTMIseb7DAy2+////78bIea1n4Fhozkw+HYixDQsGBgEuRkYTuwsSCxKBAsxAzFTWhoDwydgePEGMDAIb2Ng4PxTnGZsBJZn5HFiYGC99///ZzUGBvbJDAx/J/z//3vR//9/FwM132FgOJAHAEf/Z5tAjj9dAABAAElEQVR4AeydB5gURROGi5xzzhkkJ0HAQBAVBFRERMWAiij8GFBBxAAqEgQMBBEUUVAxIAoiAgISJEvOmSPnnNP+9dXRy9yyl+CAg/3qee52dqanp/vt2d2p0NUJfCpCIQESIAESIAESIAESIAESIAESIAESuKEJJLyhe8fOkQAJkAAJkAAJkAAJkAAJkAAJkAAJGAEaAHgjkAAJkAAJkAAJkAAJkAAJkAAJkEAIEKABIAQGmV0kARIgARIgARIgARIgARIgARIgARoAeA+QAAmQAAmQAAmQAAmQAAmQAAmQQAgQoAEgBAaZXSQBEiABEiABEiABEiABEiABEiABGgB4D5AACZAACZAACZAACZAACZAACZBACBCgASAEBpldJAESIAESIAESIAESIAESIAESIAEaAHgPkAAJkAAJkAAJkAAJkAAJkAAJkEAIEKABIAQGmV0kARIgARIgARIgARIgARIgARIgARoAeA+QAAmQAAmQAAmQAAmQAAmQAAmQQAgQoAEgBAaZXSQBEiABEiABEiABEiABEiABEiABGgB4D5AACZAACZAACZAACZAACZAACZBACBCgASAEBpldJAESIAESIAESIAESIAESIAESIAEaAHgPkAAJkAAJkAAJkAAJkAAJkAAJkEAIEKABIAQGmV0kARIgARIgARIgARIgARIgARIgARoAeA+QAAmQAAmQAAmQAAmQAAmQAAmQQAgQoAEgBAaZXSQBEiABEiABEiABEiABEiABEiABGgB4D5AACZAACZAACZAACZAACZAACZBACBCgASAEBpldJAESIAESIAESIAESIAESIAESIAEaAHgPkAAJkAAJkAAJkAAJkAAJkAAJkEAIEKABIAQGmV0kARIgARIgARIgARIgARIgARIgARoAeA+QAAmQAAmQAAmQAAmQAAmQAAmQQAgQoAEgBAaZXSQBEiABEiABEiABEiABEiABEiABGgB4D5AACZAACZAACZAACZAACZAACZBACBCgASAEBpldJAESIAESIAESIAESIAESIAESIAEaAHgPkAAJkAAJkAAJkAAJkAAJkAAJkEAIEKABIAQGmV0kARIgARIgARIgARIgARIgARIgARoAeA+QAAmQAAmQAAmQAAmQAAmQAAmQQAgQoAEgBAaZXSQBEiABEiABEiABEiABEiABEiABGgB4D5AACZAACZAACZAACZAACZAACZBACBCgASAEBpldJAESIAESIAESIAESIAESIAESIAEaAHgPkAAJkAAJkAAJkAAJkAAJkAAJkEAIEKABIAQGmV0kARIgARIgARIgARIgARIgARIggcREQAIkQAIkQAIkQAIkEDsC69ZvlBMnjsfuJJYmARIICQJ58+aRNKlTh0Rf2cnrjwANANffmLHFJEACJEACJEAC15DA6jVr5a13O0uJ4sWuYSt4aRIggfhIYNv2HZIubVrp2f2D+Ng8tokEhAYA3gQkQAIkQAIkQAIkEAsChw8fkQrly8qb7drE4iwWJQESCAUC69Z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woTy+++/W9nFixdL3bp15fbbb5cJEybI/fffL1WrVo1Qz9GjR6Vt27Z2TurUqU2h/+STT6Rdu3amAI8YMUIyZMgggwcPls8//1xat24tu3btkiFDhpih4tlnn/XX51V6YWSB4l6qVCn/8Zhs4DywdAwQwbBnz56YnBppGbQjmHTt2lVKliwpHTt2FBhLateuLTNnzrRxBAsYYjAGMKKMHTtWEiVKJCNHjpRff/1VxowZ4zfeFCtWzM8c1wEHGD8oJBDKBGgACOXRZ99JgARIgARIgASuOIF+/fqZMlOjRg1BREDnzp1NYXv11VdNCfv3338FIeDly5c35Q4NgiLcpUsXSZEihbWvV69eki5dOsE5N910k8yePVsGDRpk7z/++GNTjA4fPizr16+XJUuWSIcOHUwxgoKWOHFiUxITJEggf//9t22j3vTp08tHH31kytP//vc/yZw5syCSYfv27abwnjlzRqBkon0oW6BAAXn55ZfN27xlyxaBgtm4ceNI+Z09e1befPNNgeIIJblixYr+shs3bjSPNpRJMEE7oKyBFULhCxUqJHfeeaeV2bFjhym2UJah/ELgHcZ5aCM8xLfddpvgeu+8846VhfLctGlT80737NlT5syZYwp08+bNzWOOfuLcZs2amRLub5huIPQfrLJly2a7oWziuk7xxU6MxTfffCOnT5+2vmFcoJjiPLQNBoNZs2bZ+eXKlZNXXnnFtlEOx2Fc2LdvnzH/8ccf5ciRI5I3b94IyikiL9A31AupUqWK9OnTR+Ddr1y5sin/2I+oE3i3YQCAQQDvwRL3UDBBXz777DO/4QJtce0LVt7tu/fee+XPP/+Uhg0b2i4YRBCBMnz4cHuPPuD+AIPNmzcL7ikXoQJ
|
||
|
<p class="caption"><strong>Figure 2.</strong> immuneSIM flowchart.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="parameters" class="section level3 unnumbered">
|
||
|
<h3>Parameters</h3>
|
||
|
<ul>
|
||
|
<li><code>number_of_seqs</code>: Integer defining the number of sequences that should be simulated</li>
|
||
|
<li><code>vdj_list</code>: List containing germline genes and their frequencies</li>
|
||
|
<li><code>species</code>: String defining species for which repertoire should be simulated ("mm": mouse, "hs": human. Default: "mm").</li>
|
||
|
<li><code>receptor</code>: String defining receptor type ("ig" or "tr". Default: "ig")</li>
|
||
|
<li><code>chain</code>: String defining chain (for ig: "h","k","l", for tr: "b" or "a". Default: "h")</li>
|
||
|
<li><code>insertions_and_deletion_lengths</code>: Data.frame containing np1, np2 sequences as well as deletion lengths. (Pooled from murine repertoire data, Greiff,2017) Note: This is a subset of 500000 observations of the dataframe used in the paper. The full dataframe which can be introduced here can be found on: (Git-Link)</li>
|
||
|
<li><code>user_defined_alpha</code>: Numeric. Scaling parameter used for the simulation of powerlaw distribution (recommended range 2-5. Default: 2, <a href="https://en.wikipedia.org/wiki/Power_law" class="uri">https://en.wikipedia.org/wiki/Power_law</a>)</li>
|
||
|
<li><code>name_repertoire</code>: String defining chosen repertoire name recorded in the name_repertoire column of the output for identification.</li>
|
||
|
<li><code>length_distribution_rand</code>: Vector containing lengths of immune receptor sequences based on immune repertoire data (Greiff, 2017).</li>
|
||
|
<li><code>random</code>: Boolean. If TRUE repertoire will consist of fully random sequences, independent of germline genes.</li>
|
||
|
<li><code>shm.mode</code>: String defining mode of somatic hypermutation simulation based on AbSim (options: 'none', 'data','poisson', 'naive', 'motif', 'wrc'. Default: 'none'). See AbSim documentation.</li>
|
||
|
<li><code>shm.prob</code>: Numeric defining probability of a SHM (somatic hypermutation) occurring at each position.</li>
|
||
|
<li><code>vdj_noise</code>: Numeric between 0,1, setting noise level to be introduced in provided V,D,J germline frequencies. 0 denotes no noise. (Default: 0)</li>
|
||
|
<li><code>vdj_dropout</code>: Named vector containing entries V,D,J setting the number of germline genes to be dropped out. (Default: c("V"=0,"D"=0,"J"=0))</li>
|
||
|
<li><code>ins_del_dropout</code>: String determining whether insertions and deletions should occur. Options: "", "no_insertions", "no_insertions_n1", "no_insertions_n2", "no_deletions_v", "no_deletions_d_5", "no_deletions_d_3", "no_deletions_j", "no_deletions_vd", "no_deletions". Default: "")</li>
|
||
|
<li><code>equal_cc</code>: Boolean that if set TRUE will override user_defined_alpha and generate a clone count distribution that is equal for all sequences. Default: FALSE.</li>
|
||
|
<li><code>freq_update_time</code>: Numeric determining whether simulated VDJ frequencies agree with input after set amount of sequences to correct for VDJ bias. Default: Update after 50 percent of sequences.</li>
|
||
|
<li><code>max_cdr3_length</code>: Numeric defining maximal length of cdr3. (Default: 100)</li>
|
||
|
<li><code>min_cdr3_length</code>: Numeric defining minimal length of cdr3. (Default: 6)</li>
|
||
|
<li><code>verbose</code>: Boolean toggling printing of progress on and off (Default: FALSE)</li>
|
||
|
<li><code>airr_compliant</code>: Boolean determining whether output repertoire should be named in an AIRR compliant manner (Default: TRUE). (<a href="http://docs.airr-community.org/en/latest/" class="uri">http://docs.airr-community.org/en/latest/</a>)</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="results" class="section level2 unnumbered">
|
||
|
<h2>Results</h2>
|
||
|
<p>Following the quickstart guide, we can easily generate a TCRβ repertoire with 1000 different sequences:</p>
|
||
|
<pre class="r"><code># sim_repertoire <- immuneSIM(
|
||
|
# number_of_seqs = 1000,
|
||
|
# species = "hs",
|
||
|
# receptor = "tr",
|
||
|
# chain = "b",
|
||
|
# verbose= TRUE)
|
||
|
#
|
||
|
# save(sim_repertoire, file="data/simulated_repertoires/00_first_test")
|
||
|
#
|
||
|
# plot_report_repertoire(sim_repertoire, output_dir = "data/simulated_repertoires/")
|
||
|
|
||
|
load("data/simulated_repertoires/00_first_test")</code></pre>
|
||
|
<p>The immuneSIM function outputs an R dataframe containing 20 columns and rows equal to the number of sequences simulated. Per sequence immuneSIM provides the following information:</p>
|
||
|
<ul>
|
||
|
<li><strong>Full VDJ sequence</strong> (nucleotide and amino acid): sequence, sequence_aa</li>
|
||
|
<li><strong>CDR3 junctional sequence</strong> (nt and aa): junction, junction_aa</li>
|
||
|
<li><strong>VDJ genes</strong> used in the recombination event: v_call, d_call, j_call</li>
|
||
|
<li><strong>Nucleotide insertions</strong> VD and DJ: np1, np2</li>
|
||
|
<li><strong>Length of deletion</strong> in V, D and J genes: del_v, del_d_5, del_d_3, del_j</li>
|
||
|
<li><strong>CDR3 subsequences</strong> from V,D and J genes: v_sequence_alignment, d_sequence_alignment, j_sequence_alignment</li>
|
||
|
<li><strong>Clonal frequency/count</strong> information: freqs, counts</li>
|
||
|
<li><strong>Summary of somatic hypermutation</strong> (SHM) event simulated (only for BCR): shm_events</li>
|
||
|
<li><strong>Given name of repertoire</strong>: name_repertoire</li>
|
||
|
</ul>
|
||
|
<pre class="r"><code>datatable(sim_repertoire,
|
||
|
class = 'nowrap compact order-column',
|
||
|
extensions = c('Buttons', 'FixedColumns'),
|
||
|
options = list(pageLength = 10,
|
||
|
lengthMenu = c(10, 20, 50, 100),
|
||
|
dom = 'Blfrtip',
|
||
|
buttons = c('csv', 'excel', 'colvis'),
|
||
|
scrollX = TRUE,
|
||
|
fixedColumns = TRUE,
|
||
|
paging = TRUE))</code></pre>
|
||
|
<div id="htmlwidget-a2684618d882d307cfa1" style="width:100%;height:auto;" class="datatables html-widget"></div>
|
||
|
<script type="application/json" data-for="htmlwidget-a2684618d882d307cfa1">{"x":{"filter":"none","extensions":["Buttons","FixedColumns"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63","64","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","91","92","93","94","95","96","97","98","99","100","101","102","103","104","105","106","107","108","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","124","125","126","127","128","129","130","131","132","133","134","135","136","137","138","139","140","141","142","143","144","145","146","147","148","149","150","151","152","153","154","155","156","157","158","159","160","161","162","163","164","165","166","167","168","169","170","171","172","173","174","175","176","177","178","179","180","181","182","183","184","185","186","187","188","189","190","191","192","193","194","195","196","197","198","199","200","201","202","203","204","205","206","207","208","209","210","211","212","213","214","215","216","217","218","219","220","221","222","223","224","225","226","227","228","229","230","231","232","233","234","235","236","237","238","239","240","241","242","243","244","245","246","247","248","249","250","251","252","253","254","255","256","257","258","259","260","261","262","263","264","265","266","267","268","269","270","271","272","273","274","275","276","277","278","279","280","281","282","283","284","285","286","287","288","289","290","291","292","293","294","295","296","297","298","299","300","301","302","303","304","305","306","307","308","309","310","311","312","313","314","315","316","317","318","319","320","321","322","323","324","325","326","327","328","329","330","331","332","333","334","335","336","337","338","339","340","341","342","343","344","345","346","347","348","349","350","351","352","353","354","355","356","357","358","359","360","361","362","363","364","365","366","367","368","369","370","371","372","373","374","375","376","377","378","379","380","381","382","383","384","385","386","387","388","389","390","391","392","393","394","395","396","397","398","399","400","401","402","403","404","405","406","407","408","409","410","411","412","413","414","415","416","417","418","419","420","421","422","423","424","425","426","427","428","429","430","431","432","433","434","435","436","437","438","439","440","441","442","443","444","445","446","447","448","449","450","451","452","453","454","455","456","457","458","459","460","461","462","463","464","465","466","467","468","469","470","471","472","473","474","475","476","477","478","479","480","481","482","483","484","485","486","487","488","489","490","491","492","493","494","495","496","497","498","499","500","501","502","503","504","505","506","507","508","509","510","511","512","513","514","515","516","517","518","519","520","521","522","523","524","525","526","527","528","529","530","531","532","533","534","535","536","537","538","539","540","541","542","543","544","545","546","547","548","549","550","551","552","553","554","555","556","557","558","559","560","561","562","563","564","565","566","567","568","569","570","571","572","573","574","575","576","577","578","579","580","581","582","583","584","585","586","587","588","589","590","591","592","593","594","595","596","597","598","599","600","601","602","603","604","605","606","607","608","609","610","611","612","613","614","615","616","617","618","619","620","621","622","623","624","625","626","627","628","629","630","631","632","633","634","635","636","637","638","639","640","641","642","643","644","645","646","647","648","649","650","651","652","653","654","655","656","657","658","659","660","661","662","663","664","665","666","667","668","669","670","671","672","673","674","675","676","
|
||
|
<p>It also generates three plots with the following information about the repertoire composition:</p>
|
||
|
<ul>
|
||
|
<li>Aminoacid frequency per HVR position</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5ix0RTlb88bWzPjOK2JUaPV2RjdjIJbGqG+WLmneXGc1ryo0eNebHQf8KsvCHQxNryflBifetzp7YiexqceNfrpbMy9FwW/my4e96JG88hhdD248JNbZMZpzYvjtOrFUOQw6cUzDKwHF3pyPfg4rZpxPG3NjMO0akag3IoZFdpRBDi6HFx4v9HwDt8no9Hjb2V2OvEOBliNCr1Z9VwU1Y0Vf/l24UKNCj2+3HGn/TFMANSo0M8GGQ9mbHR+9dZXNeMwrXpxmFa9OJ625kWFBt5XZ4qzzOzeQQU2W+R1ZENmFNwmd7xNGjfjOK2ZUaMvVrdqahTcvV6doalxp7vVGeNqHKc1MY7SuhjH09bEOE5rYgTKrXgRK/ejF4EWU7yo0RevTTUxNpz6ahjZgn8vRo222fMq3SE1Cn+3CXBcjeO0pkaNHn8b0+i5kDHHwFqbNOMorHrxDI+/qxb49TIg1YqjsOrEUVhV4nDKmhGHy6wJcQy+8OFwmTUdjsKqDYfLrMkQKfPJhWAnuVfhKKyKEOskDx48wyEbntQd02DFJw+XGKdVDY6nrWnwKf3lx5cmfPcriuuWj3+k0dhNLtQf9XMuDxZ2tLfLx++Xv/3i75aP37398mP52yOsi2XzAbNfoWwq21UY/QWEUg850F8CqOcg8UB/BaVq+wy/ny/rPwJooNuhQ/9pPtV/nq+mfwFQWw5u29HfzGf4t/Nd4t/m2/Xr+Qx/M5/hD/ON83E+1X+H2tWZDv3dfKr/AXV/PsthR/9+HDUu8dSoS4Y3GIFmE5iqOkXUbCcWUBuzrmcBtzEbXccCcuO9Lcl0LGC3U3kBvRlHg6rYsYDfTukCgjvVFWA4rivf1xWguFOeAced+gY
|
||
|
|
||
|
</div>
|
||
|
<ul>
|
||
|
<li>VDJ length distribution</li>
|
||
|
</ul>
|
||
|
<div class="figure">
|
||
|
<embed src="data:application/pdf;base64,JVBERi0xLjQKJYHigeOBz4HTXHIKMSAwIG9iago8PAovQ3JlYXRpb25EYXRlIChEOjIwMjAwOTIzMDkxNjE5KQovTW9kRGF0ZS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OhBfByfAyOB8ugrfAlXADfBDuhE/Dl+ARWAo/gacRgBAROqKLMBEWwkZCkXgkCREhq5ASpAJpQNqQHqQfuYpIkafIWxQGRUUxUEyUC8ofFYXiopahVqE2o6pRB1CdqD7UVdQoagr1EU1Ga6LN0c7oAHQsOhmdiy5GV6Cb0B3os+gR9Dj6FQaDoWOMMY4Yf0wcJhWzArMZsxvTjjmFGcaMYaaxWKw61hzrig3FcrBibDG2CnsQexJ7BTuOfYMj4nRwtjhfXDxOiCvEVeBacCdwV3ATuBm8Et4Q74wPxfPwy/Fl+EZ8D34IP46fISgTjAmuhEhCKmEtoZLQRjhLuEt4QSQS9YhOxHCigLiGWEk8RDxPHCW+JVFIZiQ2KYEkIW0h7SedIt0ivSCTyUZkD3I8WUzeQm4mnyHfJ79RoCpYKgQo8BRWK9QodCpcUXimiFc0VPRUXKyYr1iheERxSPGpEl7JSImtxFFapVSjdFTphtK0MlXZRjlUOUN5s3KL8gXlRxQsxYjiQ+FRiij7KGcoY1SEqk9lU7nUddRG6lnqOA1DM6YF0FJppbRvaIO0KRWKip1KtEqeSo3KcRUpHaEb0QPo6fQy+mH6dfo7VS1VT1W+6ibVNtUrqq/V5qh5qPHVStTa1UbU3qkz1H3U09S3qXep39NAaZhphGvkauzROKvxdA5tjssc7pySOYfn3NaENc00IzRXaO7THNCc1tLW8tPK0qrSOqP1VJuu7aGdqr1D+4T2pA5Vx01HoLND56TOY4YKw5O
|
||
|
|
||
|
</div>
|
||
|
<ul>
|
||
|
<li>V, D and J segments usage</li>
|
||
|
</ul>
|
||
|
<div class="figure">
|
||
|
<embed src="data:application/pdf;base64,JVBERi0xLjQKJYHigeOBz4HTXHIKMSAwIG9iago8PAovQ3JlYXRpb25EYXRlIChEOjIwMjAwOTIzMDkxNjIwKQovTW9kRGF0ZSAoRDoyMDIwMDkyMzA5MTYyMCkKL1RpdGxlIChSIEdyYXBoaWNzIE91dHB1dCkKL1Byb2R1Y2VyIChSIDMuNi4xKQovQ3JlYXR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ARxYDHgghSQAUQgFxSAtaAYlIKtYCeoBnWgETSDNnAYdIFj4DQ4By6By2AE3AFSMA6egCnwCsxAEISFyBAVUod0IEPIHLKFWJAb5AMFQxFQHJQIJUNCSAIVQOugUqgcqobqoWboW+godBq6AA1Dt6BRaBL6FXoHIzAJpsFasBFsBbNgTzgIjoQXwcnwMjgfLoK3wJVwA3wQ7oRPw5fgEVgKP4GnEYAQETqiizARFsJGQpF4JAkRIauQEqQCaUDakB6kH7mKSJGnyFsUBkVFMVBMlAvKHxWF4qKWoVahNqOqUQdQnag+1FXUKGoK9RFNRmuizdHO6AB0LDoZnYsuRlegm9Ad6LPoEfQ4+hUGg6FjjDGOGH9MHCYVswKzGbMb0445hRnGjGGmsVisOtYc64oNxXKwYmwxtgp7EHsSewU7jn2DI+J0cLY4X1w8TogrxFXgWnAncFdwE7gZvBLeEO+MD8Xz8MvxZfhGfA9+CD+OnyEoE4wJroRIQiphLaGS0EY4S7hLeEEkEvWITsRwooC4hlhJPEQ8TxwlviVRSGYkNimBJCFtIe0nnSLdIr0gk8lGZA9yPFlM3kJuJp8h3ye/UaAqWCoEKPAUViv
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="ion-torrent-sequencing-simulation" class="section level1">
|
||
|
<h1><span class="header-section-number">2</span> Ion Torrent sequencing simulation</h1>
|
||
|
<div id="curesim" class="section level2 unnumbered">
|
||
|
<h2><code>CuReSim</code></h2>
|
||
|
<ul>
|
||
|
<li><a href="http://www.pegase-biosciences.com/wp-content/uploads/2015/05/manual.pdf">Manual</a></li>
|
||
|
<li><a href="https://bmcgenomics.biomedcentral.com/articles/10.1186/1471-2164-15-264">Publication in <em>BMC Genomics</em></a></li>
|
||
|
</ul>
|
||
|
<p>CuReSim (Customized Read Simulator) is a customized tool which generates synthetic NGS reads, supporting read simulation for major letter-base sequencing platforms.</p>
|
||
|
<p>The main features of CuReSim include:</p>
|
||
|
<ul>
|
||
|
<li>Genome (fasta) or <strong>read (fastq) as input file</strong>.</li>
|
||
|
<li>Choice between several <strong>error distributions</strong>.</li>
|
||
|
<li>A particular attention has been paid to special cases for which several introduced errors in the same read can result in less number of errors as expected due to compensatory changes.</li>
|
||
|
<li>Generation of diagrams to know exactly the simulated error model (R is required).</li>
|
||
|
</ul>
|
||
|
<p>For CuReSim input a .fastq file with the simulated TCR sequences (multiplied by their respective counts) is generated. Specifically, reverse complement sequences are required to mimic our experimental data.</p>
|
||
|
<pre class="r"><code>######## Generate .fastq file for CuReSim #######
|
||
|
seqs <- as.character(sim_repertoire$sequence)
|
||
|
counts <- sim_repertoire$counts
|
||
|
|
||
|
reads <- DNAStringSet(rep(seqs, counts))
|
||
|
names(reads) <- seq(1, length(reads))
|
||
|
|
||
|
reads_rc <- reverseComplement(reads)
|
||
|
|
||
|
# writeXStringSet(reads_rc, "software/CuReSim/input/00_first_test.fastq", format = "fastq")
|
||
|
|
||
|
print(paste0("Number of reads: ", length(reads_rc)))</code></pre>
|
||
|
<pre><code>## [1] "Number of reads: 1643918"</code></pre>
|
||
|
<div class="alert alert-dismissible alert-warning">
|
||
|
<p><strong>Heads up!</strong> immuneSIM generates full-length VDJ sequences (~350 bp), while our reads contain also part of the first exon of segment C, along with the barcode and adapters sequences (~450 bp). We could introduce manually those extra nucleotides to make the simulated data even more similar to the experimental sequences.</p>
|
||
|
</div>
|
||
|
<div id="methods-overview-1" class="section level3 unnumbered">
|
||
|
<h3>Methods overview</h3>
|
||
|
<ol style="list-style-type: decimal">
|
||
|
<li><strong>Input file pre-processing</strong>: not required in our case since the input is not a genome, but directly the reads without errors.</li>
|
||
|
<li><strong>Indel generation</strong>: user-defined rates. By default an iterative algorithm mostly introduces indels in the longer homopolymers.</li>
|
||
|
<li><strong>Substitution generation</strong>: user-defined rate. By default substitution probability increases at the end of the read.</li>
|
||
|
<li><strong>Correction step</strong>: to avoid compensatory changes that reduce the number of expected errors (i.e. deletion of an inserted base or substitution of an insertion).</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<div id="parameters-1" class="section level3 unnumbered">
|
||
|
<h3>Parameters</h3>
|
||
|
<p>Options are given with default values in brackets.</p>
|
||
|
<p><code>java -jar CuReSim.jar [options] -f <input_file> [options]</code></p>
|
||
|
<ul>
|
||
|
<li><code>f</code> (String) genome fasta file or reads fastq file. It is the only MANDATORY field</li>
|
||
|
<li><code>o</code> (String) name of output fastq file [output.fastq]</li>
|
||
|
<li><code>n</code> (integer) number of reads to generate [50000]</li>
|
||
|
<li><code>m</code> (integer) read mean size [200 bases]</li>
|
||
|
<li><code>sd</code> (float) standard deviation for read size [20.0]</li>
|
||
|
<li><code>r</code> (integer) number of random reads [0]</li>
|
||
|
<li><strong><code>d</code> (float) deletion rate [0.01]</strong></li>
|
||
|
<li><strong><code>i</code> (float) insertion rate [0.005]</strong></li>
|
||
|
<li><strong><code>s</code> (float) substitution rate [0.005]</strong></li>
|
||
|
<li><code>ui</code> when option -ui is added uniform distribution is drawn for indels [homopolymers]</li>
|
||
|
<li><code>us</code> when option -us is added uniform distribution is drawn for substitutions [exponential]</li>
|
||
|
<li><code>q</code> (character) quality encoding character in fastq file [5]</li>
|
||
|
<li><code>v</code> verbose mode generating diagrams. R software is required [false]</li>
|
||
|
<li><code>skip</code> skip the correction step [false]</li>
|
||
|
<li><code>h</code> print this help</li>
|
||
|
</ul>
|
||
|
<p>Default values for deletion (1%), insertion (0.5%) and substitution (0.5%) rates are those typical of IonTorrent technology <a href="https://bmcgenomics.biomedcentral.com/articles/10.1186/1471-2164-15-264">(source)</a>.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="results-1" class="section level2 unnumbered">
|
||
|
<h2>Results</h2>
|
||
|
<!-- ### Diagrams generated by CuReSim {-} -->
|
||
|
<!-- **Section removed because diagrams were replaced when executing CuReSim with new error rates :(** -->
|
||
|
<!-- ![](software/CuReSim/output/diagrams/stat.pdf){width=100% height=650px} -->
|
||
|
<!-- ![](software/CuReSim/output/diagrams/indels.pdf){width=100% height=650px} -->
|
||
|
<!-- ![](software/CuReSim/output/diagrams/indelsPos.pdf){width=100% height=650px} -->
|
||
|
<!-- ![](software/CuReSim/output/diagrams/sub.pdf){width=100% height=650px} -->
|
||
|
<div id="readlength-distribution-before-and-after-sequencing-simulation" class="section level3 unnumbered">
|
||
|
<h3>Readlength distribution before and after sequencing simulation</h3>
|
||
|
<pre class="r"><code>rl_before <- ggplot() +
|
||
|
aes(width(reads_rc)) +
|
||
|
geom_histogram(color="dodgerblue", fill="dodgerblue", binwidth = 1) +
|
||
|
scale_y_continuous(name = "Counts", expand = c(0.01,0)) +
|
||
|
scale_x_continuous("Read length", expand = c(0.01,0)) +
|
||
|
ggtitle("Before") +
|
||
|
theme_pubr()</code></pre>
|
||
|
<pre class="r"><code>### nohup java -jar CuReSim.jar -f ../input/00_first_test.fastq -d 0.01 -i 0.005 -s 0.005 -o ../output/00_first_test.fastq -v &
|
||
|
|
||
|
curesim_fq <- ShortRead::readFastq("software/CuReSim/output/00_first_test.fastq") # Read .fq file and store in a ShortReadQ class object
|
||
|
reads_sim <- ShortRead::sread(curesim_fq) # DNAStringSet with the reads
|
||
|
quality_sim <- quality(curesim_fq) # BStringSet with the sequencing qualities
|
||
|
|
||
|
new.quality.class <- switch(class(quality_sim), # Convert from BStringSet to XStringQuality
|
||
|
SFastqQuality="SolexaQuality",
|
||
|
FastqQuality="PhredQuality",
|
||
|
"XStringQuality")
|
||
|
quality_sim <- as(quality_sim, new.quality.class)
|
||
|
|
||
|
sample_sim <- QualityScaledDNAStringSet(reads_sim, quality_sim) # Get QualityScaledDNAStringSet to use as a pairwiseAlignment input
|
||
|
names(sample_sim) <- as.character(curesim_fq@id) # Character vector with the reads IDs
|
||
|
|
||
|
sample_sim_rc <- reverseComplement(sample_sim)
|
||
|
|
||
|
# Readlength histogram
|
||
|
rl_after <- ggplot() +
|
||
|
aes(width(sample_sim_rc)) +
|
||
|
geom_histogram(color="dodgerblue", fill="dodgerblue", binwidth = 1) +
|
||
|
scale_y_continuous(name = "Counts", expand = c(0.01,0)) +
|
||
|
scale_x_continuous("Read length", expand = c(0.01,0)) +
|
||
|
ggtitle("After") +
|
||
|
theme_pubr()
|
||
|
|
||
|
###
|
||
|
rm(reads_sim, quality_sim, sample_sim, curesim_fq)</code></pre>
|
||
|
<pre class="r"><code>rl_before + rl_after</code></pre>
|
||
|
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABUAAAAJACAIAAADDw1viAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAgAElEQVR4nOzdeVxV5d7//89GRETADHCiLAYnNDU1kI4aZjmVE9pw1FPYsdTz7XZCJc0hLUW0W62fpscG7GRqcOOUZpl5OyNq4oiBIZizgugWUcb9+2Ode7XPhs0g7AULXs+Hf1xc6/qsde3Ho3Mu3qy1r2UwmUwCAAAAAACqNrvKngAAAAAAACgZAR4AAAAAAB0gwAMAAAAAoAMEeAAAAAAAdIAADwAAAACADhDgAQAAAADQAQI8AAAAAAA6QIAHAAAAAEAHCPAAAAAAAOgAAR4AAAAAAB0gwAMAAAAAoAMEeAAAAAAAdIAADwAAAACADhDgAQAAAADQAQI8AAAAAAA6QIAHAAAAAEAHCPAAAAAAAOgAAR4AAAAAAB0gwAMAAAAAoAMEeAAAAAAAdIAADwAAAACADhDgAQAAAADQAQI8AAAAAAA6QIAHAAAAAEAHCPAAAAAAAOgAAR4AAAAAAB0gwAMAAAAAoAMEeAAAAAAAdIAADwAAAACADhDgAQAAAADQAQI8KlPdunUNxbK3t2/UqJG/v/+kSZPi4+M1mNKmTZuef/75Jk2auLi4dO3aVYMrAgBQ6SZNmmS+/v7zn/8sUzmrJwBow2AymSp7Dqi56tat++DBg9KPHzx48KpVq9zd3W00n6lTpy5atEj9sXHjxlevXrXRtQAAqCIKCgoee+wx8yWve/fue/bsKWU5qycAaIY78NCTjRs3BgYGpqWl2eLkx48f/+///m+lbW9v37x58xYtWtjiQgAAVCm7du2yiNz79u27ePFiaWpLs3r26NFDubH/ySefVMiEAaDGsq/sCQAiIq+99tqcOXMsOvPy8q5fv37lypUdO3asW7cuLy9PRH7//fe3335748aNFT6HXbt2FRQUiIibm1tsbGzz5s0r/BIAAFRB3377rUWPyWRav379lClTSqxl9QQALXEHHlVCgwYNWhbSpk2b559/fsSIEf/617/OnDnj5uamDN60adOJEycqfA6JiYlKY8CAAfz+AQCoIe7fvx8TE6O0X3rppYYNGyrttWvXlqac1RMAtESAhz60aNFi2bJl6o/ff/99hV8iJydHadSvX7/CTw4AQNX0/fff3717V2m/8cYbgwcPVtrHjx9PSEgosZzVEwC0RICHbvTr109t//7775U4EwAAqg31+XkXF5f+/fu/8sor6qF169ZV0qQAAEUjwEM3XF1dPTw8lLbydTu9O3DgwMKFC6dPn64+fwgAgJZu3bq1fft2pT148OC6desGBQWpb3sp5VP0VQ3LK4BqjAAP3cjKykpPT1faXl5exYxMS0v75JNPevXq9eSTT9atW9fT07N79+7jxo07e/Zs4cGbN29WtsZdvXq10rN06VKlp0mTJkWe//Dhw5MnT+7YsWOjRo3q1KnTpEkTf3//995779ixY9ampF5l7NixInL37t0BAwZ07do1LCwsPDz89OnT5fwUAAA8hKioqNzcXKU9bNgwEalVq5b6FP358+fj4uKKLCzN6hkREaH07N69W+mZMGGC0tOjR4/C53yIhe8hllcA0DV2oYdu7N27V73xHhQUZG3YkiVL5syZc+fOHbXnypUrV65c2bdv37Jly1566aWvvvpKvZNfVjdv3nznnXc2bdpk3nnt2rVr164dOXJk4cKFr7zyysqVKxs0aFDMSe7du9e7d+/Y2Nhixtj0UwAAoFCfn2/YsOELL7ygtIcOHfr5558r7bVr1wYEBGgwk/IvfKVZXgFA7wjw0Ie0tLTRo0cr7Q4dOhT5l/uCgoJRo0ZFRkaadxoMBpPJpLRNJtPWrVu7dOnyww8/tGzZUuls1qxZSEiIiOzfv1/5ar2fn5+/v78U2o/nwoULPXv2TE5ONu+0s7NT/6xgMpmioqJOnjz5yy+/NG3a1NpnmTBhgvmvF25ubq6uruX8FAAAlFVqauqBAweU9muvvVarV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ixRor419+/fVxrqW+VLdOHCBaXh4eHh4uJSzMimTZvWqVNHebovJSWl8AB7e3trdxhs/SkAAFDs3r378uXLStvaY+cvvvhi/fr1lfe6bdu27c6dOxYvZym/Clz4illeAaA6IcBDNwIDAz/++OM33nhDRIxG46effjp79mzlkLqWm0ymr776qpQnNBqNpRypvEpHRNQ//1tjMBiefPLJxMRE8ypzjRo1svYLiq0/BQAACvX17yIyZcqUKVOmFD8+Ozt7w4YNI0eOrNhpVODCV8zyCgDVCf9PBz3529/+pv593fwB9YfbyO3u3btlLSm8d11h6jfkc3NzCx+tXbu2tULNPgUAoCZ78OBBTExMWats8RR9BS58xSyvAFCdcAceOtOmTZvdu3fLfz6g/uijjyqNevXqGY3GCv8bvHr+8+fPlzhYHePu7v5wV7HRpwAAQES2bt2qPBhfJrt27bp69WqTJk0qcCYsfABQVvwfJXRGfVus8tYZxeOPP6407t27V5qMXVZPPPGE0rhx40ZmZmYxI69evXrv3j2LWZWSrT8FAADyn8/PHzp0qPgXDquPzRcUFERFRVXsTFj4AKCsCPDQmTNnziiNpk2bqp1dunRRg/2vv/5aTHlBQcFP/6f03x5/9tln1Xbxjx2aH+3atWspz6+w9acAACAjI+OHH35Q2i1atAgICCh+/IgRI9R2hT9Fz8IHAGVFgIeebNy48erVq0o7KChI7a9Xr97zzz+vtJcuXVpQUGDtDKtXr+7Tp0+fPn3+9re/1alTp5TXbdOmjbp93Zw5c4r8cruIZGVlzZs3T2k/9dRT6n37UrL1pwAAIDo6OicnR2m/+eabJY4PCgry9PRU2ocPH/79998rcDIsfABQVgR46MaZM2fGjRuntO3s7IYPH25+dPLkyUrj0KFD7777bpH74pw4cWLa
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="applying-our-pipeline" class="section level1">
|
||
|
<h1><span class="header-section-number">3</span> Applying our pipeline</h1>
|
||
|
<div id="vj-alignment" class="section level2 unnumbered">
|
||
|
<h2>VJ alignment</h2>
|
||
|
<pre class="r"><code>######################################################
|
||
|
#################### VJ alignment ####################
|
||
|
######################################################
|
||
|
|
||
|
### VJ_alignment.R script executed via terminal (nohup)
|
||
|
|
||
|
print("Execution time: 14.5789240725173 hours")</code></pre>
|
||
|
<pre><code>## [1] "Execution time: 14.5789240725173 hours"</code></pre>
|
||
|
<pre class="r"><code>vj_alg_sim <- readRDS("data/simulated_repertoires/VJ_alignment_first_sim_rep.rds") # Data too big for datatable (RStudio crashes)</code></pre>
|
||
|
<div class="alert alert-dismissible alert-warning">
|
||
|
<p><strong>Heads up!</strong> Sample 111L had ~200,000 reads (~2 hours for VJ alignment), while our simulated repertoire of 1000 different HVR has a total count of ~1,600,000 reads. immuneSIM does not have a specific parameter for total counts or sequencing coverage.</p>
|
||
|
</div>
|
||
|
<div id="alignment-summary" class="section level3 unnumbered">
|
||
|
<h3>Alignment summary</h3>
|
||
|
<pre class="r"><code>###################################################### (4)
|
||
|
################# VJ alignment results ###############
|
||
|
###################################################### (4)
|
||
|
|
||
|
alg_rep_data <- select(vj_alg_sim,
|
||
|
V_score,
|
||
|
J_score,
|
||
|
Cys_check,
|
||
|
Phe_check,
|
||
|
HVR_frame)
|
||
|
|
||
|
alg_rep_data$HVR_status <- ifelse((alg_rep_data$V_score < 0 | alg_rep_data$J_score < 0 | !alg_rep_data$Cys_check | !alg_rep_data$Phe_check),
|
||
|
"HVR not found",
|
||
|
"HVR found")
|
||
|
alg_rep_data$label <- NA
|
||
|
alg_rep_data[alg_rep_data$V_score < 0, "label"] <- "No V"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score < 0), "label"] <- "No J"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & !alg_rep_data$Cys_check & alg_rep_data$Phe_check), "label"] <- "No Cys"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & alg_rep_data$Cys_check & !alg_rep_data$Phe_check), "label"] <- "No Phe"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & !alg_rep_data$Cys_check & !alg_rep_data$Phe_check), "label"] <- "No Cys no Phe"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & alg_rep_data$Cys_check & alg_rep_data$Phe_check), "label"] <- paste("Frame", alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & alg_rep_data$Cys_check & alg_rep_data$Phe_check), "HVR_frame"])
|
||
|
|
||
|
PieDonut(alg_rep_data, aes(HVR_status,label),
|
||
|
showPieName=FALSE,
|
||
|
labelposition = 1,
|
||
|
showRatioThreshold = 0.009,
|
||
|
color = "white",
|
||
|
explode = 2,
|
||
|
explodeDonut = TRUE,
|
||
|
explodePie = TRUE,
|
||
|
r0 = 0,
|
||
|
r1 = 0.9,
|
||
|
start = pi/2,
|
||
|
maxx = 1.6,
|
||
|
explodePos = 0,
|
||
|
donutLabelSize = 3.5,
|
||
|
showRatioDonut = FALSE,
|
||
|
title = "VJ alignment (simulated repertoire)")</code></pre>
|
||
|
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABUAAAAPACAIAAAB7BESOAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAgAElEQVR4nOzdd3wU9b7/8c/sbnpvhISQEOkRpIgKUlUQOEdURFEEu3iOYle8KqjHdu3o1aM/jwXRg4oohyPqUUHwqAgqSBNDSyWBkN777s7vj8FhSdm0TWY3eT0fPHxMdqd8Zmdn3ffOd75fRVVVAQAAAAAA7s1kdAEAAAAAAKBlBHgAAAAAADwAAR4AAAAAAA9AgAcAAAAAwAMQ4AEAAAAA8AAEeAAAAAAAPAABHgAAAAAAD0CABwAAAADAAxDgAQAAAADwAAR4AAAAAAA8AAEeAAAAAAAPQIAHAAAAAMADEOABAAAAAPAABHgAAAAAADwAAR4AAAAAAA9AgAcAAAAAwAMQ4AEAAAAA8AAEeAAAAAAAPAABHgAAAAAAD0CABwAAAADAAxDgAQAAAADwAAR4AAAAAA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dlKFV111lYjY7fZXX33VhasFgOYQ4AEY46yzzhowYIA27bwv+pKSEv32wssvv1xRlE4v7mSlpaVvvPHGZZddNnbs2Li4OF9f3379+o0fP37BggUbNmxo69ref/99rUun5q4X1dbWLl++fObMmfHx8b6+vn379p0+ffo777xTV1cnDsNTa3diN17tXXfdpT2SmZm5dOnSUaNGRUZGBgcHjxkzZsGCBXpP/g18+umnDRZfv379ZZddlpiY6OvrGx0dPWHChNdff91xxOMDBw7cddddSUlJoaGhoaGhZ5555k033XT48OEWX4Hs7Oxnnnlm8uTJffv21V7M8847b+nSpUePHm3xRWvr3j355JPagj/99JP2yIIFC7RHrrvuuhZLbeCNN97QXgHHThyatGPHjptvvnnq1KmJiYn+/v6DBw+eOXPmAw88kJub63wHG7wrOvu4LF68WFv/woULnexOYmKiNtvXX3/tfMcbaOu509bj1Y73kq6oqGjZsmVTpkzp06ePr69vXFzcueee+//+3/+rqKho0z42oB/KBx54QETy8vImTpw4ffr0hx566PHHH2/yDdCOvYiKilIUxc/PT/uzrKzstddemzhxYmxsrJ+fX2Ji4oUXXvjee+/V19e3WHBHzkcn+9iOU++777677bbbhg8fHhkZ6ePjExcXN2HChMcffzwtLa3FShqcOF1zFDQjRowYNmyYiLz99tu1tbXOZwYAF1ABwCAPP/yw/ln022+/NTeb1uO3ZseOHW3axIoVK/Rl9+/f344iP/nkk8jISCefoklJSdu2bWu84N///ndthhkzZjg+vnLlSu3xMWPGNF5qy5YtAwcObG5D27dv1/fo3nvvbXK1d955p6qqq1atau4S8VVXXWW1Whts99///re+eHV1dXPfsM8555yysjJVVV955RVfX9/GM/j7+3/44YfNvZg2m+1vf/ubnjoa8PLy+utf/1pbW9t4wXbvnZOO4q+99trm6mzO6aefrtVZXV3d3DxpaWlOWtf7+/svWbLEbrc3t4MN3hWdfVy00exF5MYbb3Sy4/369dNm++qrrxwfb+5NrmnHudP649Xu95Lm3XffDQ8Pb3LZxMTELVu26CfahAkTnLwyjemH8v777y8oKEhKSnJc+d69e12yF9oL6+vrq6rq1q1b+/bt2+Qahg4d+ssvvzRXasfPRyf72KZTLysra9q0ac3N7+3tfffdd9fV1TmppMGJ0zVHQXf77bdrM2/atMnJbADgEp46kDKAbmD+/PmPPfaYNr1q1armvvDp7ecHDhw4atSoLipOREQ+++yzuXPn2u12/RGTyeTv7+94jS45OXnq1Kl79+6Ni4vr4OY2bdo0a9asqqoq/RE/Pz+r1apdRktOTp4yZcqcOXNaXM/777+/YMGC4ODgRYsWjR07NjY2dt++fa+//vrevXtF5J///GdiYuKjjz7a5LJ2u33BggVr1qwZP3783Llzhw8fnpmZuXz58h9++EFEvv3220WLFo0cOfKee+7x9fW98847J06c6Ofnt2XLlhdeeKG6urqqqurmm2+eMmVK7969G6zZarVeeeWVH3/8seODvr6+NTU12nR9ff3rr7++b9++tWvXhoWFuWTvRo8e/de//lVE/vWvf+Xl5YnIueeeO2jQIBEZN25ci6+ko+Li4p07d4rIyJEjmwzJInL06NEJEyY4XrIzmUx+fn6VlZXan1VVVU8++aTNZnvqqafatPXOOy6dpH3nTiuPVwffS88//3yDBiwioiiKqqoikp6ePn36dOdNElpDVdWbbropOTlZfyQmJsbxneOSM2Lbtm1Tpkypra2Njo6+9NJLBw8eXFlZuWXLlq+++qq+vn7fvn3nnXfeV199dfbZZzdY0CVbd7KPrT/1Dhw4cN555x05ckR/pMFbpa6ubtmyZXv37l23bp2Pj0+TlTSna47C2LFjX375ZRHZtGnTOeec06YKAaDNjP39AEAPpw/E1b9//yZnKC8v179sPfTQQ21df0euwNfX1/fp00dbNiAg4LHHHktLS6uvr1dVtbKy8scff3Qcjv6OO+5osHhbr8AfO3YsIiJCe8rPz+/RRx/NzMxUVdVms+3cufPqq69u8Ond3BX46dOnBwQEDBkypMH+1tfXz507V5vHZDLl5+c7Pqtf6Q0NDRWRBx54wGaz6c/abDZ9WU2/fv12797tuIbt27ebzWbt2b/97W+NX0+tLatmwIABq1ev1nbwyJEja9euPe200/RnL7744gbLdnDvVFUdO3as9uzKlSsb19Ya+g9Jt912W3PzOPawuGjRot9++027bFhcXPzee+/pMdVisRw5cqTJHWzuCnwnHZdOugLfwXNHbel4deS99O233+rdlZvN5r/+9a/bt2+vqampra3dsWPHX/7ylwadmbf7Crx2i5CXl9cdd9zxyy+/lJaWunAvtCvwFotF
|
||
|
<pre class="r"><code>df1 <- as.data.frame(table(alg_rep_data$HVR_status))
|
||
|
colnames(df1) <- c("Status", "# Reads")
|
||
|
df2 <- as.data.frame(table(alg_rep_data$label))
|
||
|
colnames(df2) <- c("Status", "# Reads")
|
||
|
knitr::kable(df1)</code></pre>
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr class="header">
|
||
|
<th align="left">Status</th>
|
||
|
<th align="right"># Reads</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr class="odd">
|
||
|
<td align="left">HVR found</td>
|
||
|
<td align="right">1555379</td>
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td align="left">HVR not found</td>
|
||
|
<td align="right">88539</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<pre class="r"><code>knitr::kable(df2)</code></pre>
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr class="header">
|
||
|
<th align="left">Status</th>
|
||
|
<th align="right"># Reads</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr class="odd">
|
||
|
<td align="left">Frame 0</td>
|
||
|
<td align="right">492201</td>
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td align="left">Frame 1</td>
|
||
|
<td align="right">514612</td>
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td align="left">Frame 2</td>
|
||
|
<td align="right">548566</td>
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td align="left">No Cys</td>
|
||
|
<td align="right">14071</td>
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td align="left">No Cys no Phe</td>
|
||
|
<td align="right">681</td>
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td align="left">No Phe</td>
|
||
|
<td align="right">73787</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<p>HVR can be delimited if <strong>V and J segments and their conserved Cys and Phe codons are identified in the read</strong>. This is the case for most of the reads (<strong>94.6%</strong>). However, the proportion of the three possible HVR reading frames does not resemble that of the real repertoires analyzed. Both samples 111H and 111L had a large proportion of HVRs in frame (frame 0), while the simulated repertoire reading frames have the same frequency.</p>
|
||
|
<div class="alert alert-dismissible alert-warning">
|
||
|
<p><strong>Heads up!</strong> Sequencing error rates need to be tuned. We could try and estimate them from the VJ alignments of real repertoires and/or try a different Ion Torrent sequencing simulator.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="unique-reads" class="section level3 unnumbered">
|
||
|
<h3>Unique reads</h3>
|
||
|
<p>Reads with delimited HVR (<strong>1,555,379 reads</strong>) can be grouped into unique clonotypes (same V and J match and HVR sequence). This results in <strong>84,412 unique reads</strong>:</p>
|
||
|
<pre class="r"><code>###################################################### (5)
|
||
|
################## Unique reads table ################
|
||
|
###################################################### (5)
|
||
|
|
||
|
vj_alg_good <- vj_alg_sim[!(vj_alg_sim$V_score < 0 | vj_alg_sim$J_score < 0 | !vj_alg_sim$Cys_check | !vj_alg_sim$Phe_check),]
|
||
|
|
||
|
vj_alg_good_splt <- split(vj_alg_good, paste0(vj_alg_good$V_match, " / ",
|
||
|
vj_alg_good$HVR_sequence, " / ",
|
||
|
vj_alg_good$J_match))
|
||
|
|
||
|
vj_alg_unique <- dplyr::bind_rows(lapply(vj_alg_good_splt, function(x){
|
||
|
|
||
|
qual_mat <- do.call(rbind, lapply(x[,"HVR_quality"], function(y){strtoi(charToRaw(y),16L)-33}))
|
||
|
qual_med <- round(robustbase::colMedians(qual_mat))
|
||
|
qual_ascii <- rawToChar(as.raw(qual_med+33))
|
||
|
df_row <- x[1,]
|
||
|
df_row <- subset(df_row, select=-HVR_quality)
|
||
|
df_row$HVR_quality_median <- qual_ascii
|
||
|
df_row$Counts <- nrow(x)
|
||
|
|
||
|
return(df_row)
|
||
|
|
||
|
}))
|
||
|
|
||
|
|
||
|
vj_alg_unique <- dplyr::select(vj_alg_unique,
|
||
|
c(V_match,
|
||
|
J_match,
|
||
|
HVR_sequence,
|
||
|
HVR_quality_median,
|
||
|
HVR_frame,
|
||
|
Counts))
|
||
|
|
||
|
|
||
|
# DT::datatable(vj_alg_unique, # Data too big for datatables, although it can be generated
|
||
|
# class = 'nowrap compact order-column',
|
||
|
# extensions = c('Buttons', 'FixedColumns'),
|
||
|
# options = list(pageLength = 10,
|
||
|
# lengthMenu = c(10, 20, 50, 100),
|
||
|
# dom = 'Blfrtip',
|
||
|
# buttons = c('csv', 'excel', 'colvis'),
|
||
|
# scrollX = TRUE,
|
||
|
# fixedColumns = TRUE,
|
||
|
# paging = TRUE))</code></pre>
|
||
|
</div>
|
||
|
<div id="vj-families" class="section level3 unnumbered">
|
||
|
<h3>VJ families</h3>
|
||
|
<p>There are <strong>371 VJ families</strong> in the sample. A heatmap with the <strong>number of unique HVR sequences per VJ family</strong> is shown here:</p>
|
||
|
<pre class="r"><code>###################################################### (6)
|
||
|
######### Heatmap unique reads per VJ family #########
|
||
|
###################################################### (6)
|
||
|
|
||
|
vj_mat <- as.data.frame(table(vj_alg_unique[,c("V_match", "J_match")]))
|
||
|
vj_mat[vj_mat == 0] <- NA
|
||
|
|
||
|
vj_mat$V_match <- factor(vj_mat$V_match, levels = rev(str_sort(unique(vj_mat$V_match), numeric = TRUE)))
|
||
|
vj_mat$J_match <- factor(vj_mat$J_match, levels = str_sort(unique(vj_mat$J_match), numeric = TRUE))
|
||
|
|
||
|
|
||
|
vj_heatmap <- ggplot(vj_mat, aes(J_match, V_match, fill = Freq)) +
|
||
|
geom_tile(color = "white") +
|
||
|
coord_equal() +
|
||
|
geom_text(aes(label = Freq), size = 3) +
|
||
|
scale_x_discrete(expand = c(0,0), name = "J match") +
|
||
|
scale_y_discrete(expand = c(0,0), name = "V match") +
|
||
|
scale_fill_gradient(low = "aquamarine3", high = "red", name = "Unique HVR count", na.value = "gray90") +
|
||
|
theme_pubr() +
|
||
|
theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1),
|
||
|
text = element_text(size = 10))
|
||
|
|
||
|
vj_heatmap</code></pre>
|
||
|
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAABIACAIAAACLlnogAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAgAElEQVR4nOzdeXxNd/7H8c+52UUWIpaIXWJLLVXE3hpKJNKgtTOt6mg7pjotnfq1SqemhqmihlpGW0ttXYi1qrXWmhIlJJHYI4SQlez3/P443F43i0Rycklfz8c8HnPyPd/vOZ/vzfeGvHt8r6KqqgAAAAAAAAAAUNYM1i4AAAAAAAAAAFAxEUADAAAAAAAAAHRBAA0AAAAAAAAA0AUBNAAAAAAAAABAFwTQAAAAAAAAAABdEEADAAAAAAAAAHRBAA0AAAAAAAAA0AUBNAAAAAAAAABAFwTQAAAAAAAAAABdEEADAAAAAAAAAHRBAA0AAAAAAAAA0AUBNAAAAAAAAABAFwTQAAAAAAAAAABdEEADAAAAAAAAAHRBAA0AAAAAAAAA0AUBNAAAAAAAAABAFwTQAAAAAAAAAABdEEADAAAAAAAAAHRBAA0AAAAAAAAA0AUBNAAAAAAAAABAFwTQAAAAAAAAAABdEEADAAAAAAAAAHRBAA0AAAAAAAAA0AUBNAAAAAAAAABAFwTQAAAAAAAAAABdEEADAAAAAAAAAHRBAA0AAAAAAAAA0AUBNAAAAAAAAABAFwTQAAAAAAAAAABdEEADAAAAAAAAAHRha+0CAAAAAEAXyTkZRlUVUU0tiph/Jcrvh2q+lnt91PvHFNJNRBTVslsRNzJ9le9S91dbwBmzDopBVY0FFHN/JQVWW+xu6v33LLCzavH/+TqbnSj0RSrgXorBRox593cpavzdi6j5K7S4e0EXUS2PlEI6FlyGxXCLZaYWdEoVsbWVnJy7x6qIu7u4uRVySwAAHlcE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9+2dpV6EkxeI6p0B87aTAoq7dYuwgAAHRHAA0AAADdZWZmDhw4cPDgwWfPnl21atXatWujo6N9fX1v3749ceLEIgbeuXNnwIABt27dcnJy+te//nXw4MHw8PDZs2e7uLh8+eWXERERpanq7bffXr16tYiMGTNm3759ly9f3r59+7PPPisi06ZNmzNnTjGvk5qaeqpw5mGuuaFDh4pIenr6tm3bzNtjY2O1eZVo/42UlJSjR48OHz58y5Yt9vb2S5YsMRiK+qu+qqpDhgyJjY11cXGZP39+REREbGzs4sWLq1evfvXq1UGDBhmNRhHJycnp37//qVOnbGxsJk2adPDgwQsXLoSGhrZv315E/vnPfy5fvrz4ReZXnIUxffr0kydPduzYUUT+/ve/nzx5spQ3BQAAQHmytXYBAAAAqPiSk5N9fX3nzp1ravH09HznnXfGjBlT9H4Xn3766dWrVx0cHA4cONC6dWutsXXr1r169WrXrl1GRsZDlxQVFTV//nwRmT179ptvvqk1ent7P/vss2PGjFm6dOmUKVNGjRpVtWrVB15q586dfn5+JS2gc+fOdevWvXTp0tq1a/v3729q1x5/dnZ27tu3b4ED09PTFUUp7LItW7ZctGiRv79/0XdftWpVWFiYra3t/v37n3jiCa2xUaNGTzzxRMeOHY8cORIeHt62bds1a9YcPXpURNatWzdgwACtW7169fr06RMQELBz58733ntv2LBhtrYP+WvFQy8MAAAAPC54AhoAAADlwRTymvj4+IhIUlJSEaM+++wzERk3bpwpfda0aNHi1VdfLU09X3/9taqqfn5+48ePtzg1e/ZsJyen1NTUnTt3luYWRVMUZciQISKyefPmO3fumNq1DaD79etXqVKlh7hsampqYmLiA7tpL+zw4cNN6bPG39+/d+/e9evXDw8PF5ENGzaISLdu3Uzps8be3v7jjz8W
|
||
|
</div>
|
||
|
<div id="one-membered-families" class="section level3 unnumbered">
|
||
|
<h3>One-membered families</h3>
|
||
|
<p><strong>53 VJ families</strong> with only one HVR sequence are excluded from the clustering step. These families are shown here:</p>
|
||
|
<pre class="r"><code>data_ec <- vj_alg_good
|
||
|
### Unique reads
|
||
|
data_ec_uniq <- plyr::ddply(data_ec,.(V_match, J_match, HVR_sequence, HVR_frame), nrow)
|
||
|
data_ec_uniq <- data_ec_uniq %>% dplyr::rename(Counts = V1)
|
||
|
|
||
|
vj_fam <- split(data_ec_uniq, paste0(data_ec_uniq$V_match, " / ", data_ec_uniq$J_match)) # Split data frame by VJ match into list of data frames
|
||
|
|
||
|
### Single-member VJ families
|
||
|
single_idx <- unlist(lapply(vj_fam, function(x){nrow(x) == 1})) # Logic vector for one-membered families
|
||
|
vj_sgl_member <- bind_rows(vj_fam[single_idx]) # Data frame with one member clonotypes
|
||
|
|
||
|
DT::datatable(vj_sgl_member,
|
||
|
class = 'nowrap compact order-column',
|
||
|
extensions = c('Buttons', 'FixedColumns'),
|
||
|
options = list(pageLength = 10,
|
||
|
lengthMenu = c(10, 20, 50, 100),
|
||
|
dom = 'Blfrtip',
|
||
|
buttons = c('csv', 'excel', 'colvis'),
|
||
|
scrollX = TRUE,
|
||
|
fixedColumns = TRUE,
|
||
|
paging = TRUE))</code></pre>
|
||
|
<div id="htmlwidget-5a33eee14b2dcaf429b2" style="width:100%;height:auto;" class="datatables html-widget"></div>
|
||
|
<script type="application/json" data-for="htmlwidget-5a33eee14b2dcaf429b2">{"x":{"filter":"none","extensions":["Buttons","FixedColumns"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53"],["TRBV10-1*01_F","TRBV10-1*01_F","TRBV10-1*01_F","TRBV10-2*01_F","TRBV10-2*01_F","TRBV10-3*02_F","TRBV10-3*02_F","TRBV11-1*01_F","TRBV11-1*01_F","TRBV11-1*01_F","TRBV11-2*01_F","TRBV11-2*01_F","TRBV11-3*01_F","TRBV11-3*01_F","TRBV11-3*01_F","TRBV12-5*01_F","TRBV12-5*01_F","TRBV13*01_F","TRBV14*02_(F)","TRBV18*01_F","TRBV19*03_(F)","TRBV2*02_(F)","TRBV2*03_(F)","TRBV20-1*01_F","TRBV23-1*01_ORF","TRBV27*01_F","TRBV28*01_F","TRBV29-1*01_F","TRBV30*03_P","TRBV30*03_P","TRBV4-2*02_(F)","TRBV5-1*01_F","TRBV5-1*01_F","TRBV5-1*01_F","TRBV5-3*01_ORF","TRBV5-4*01_F","TRBV5-4*01_F","TRBV5-4*02_(F)","TRBV5-5*01_F","TRBV5-6*01_F","TRBV5-6*01_F","TRBV6-1*01_F","TRBV7-2*03_F","TRBV7-2*04_(F)","TRBV7-2*04_(F)","TRBV7-2*04_(F)","TRBV7-2*04_(F)","TRBV7-3*01_F","TRBV7-3*02_ORF","TRBV7-6*01_F","TRBV7-9*01_F","TRBV7-9*01_F","TRBV9*03_(F)"],["TRBJ2-4*01_F","TRBJ2-5*01_F","TRBJ2-6*01_F","TRBJ1-3*01_F","TRBJ2-1*01_F","TRBJ2-2*01_F","TRBJ2-7*01_F","TRBJ1-6*01_F","TRBJ2-5*01_F","TRBJ2-7*01_F","TRBJ1-3*01_F","TRBJ2-3*01_F","TRBJ1-1*01_F","TRBJ2-2*01_F","TRBJ2-5*01_F","TRBJ1-5*01_F","TRBJ2-5*01_F","TRBJ1-1*01_F","TRBJ2-5*01_F","TRBJ2-4*01_F","TRBJ2-1*01_F","TRBJ1-4*01_F","TRBJ2-2*01_F","TRBJ2-1*01_F","TRBJ2-5*01_F","TRBJ1-3*01_F","TRBJ2-6*01_F","TRBJ2-2*01_F","TRBJ1-1*01_F","TRBJ2-7*01_F","TRBJ2-1*01_F","TRBJ1-4*01_F","TRBJ1-6*01_F","TRBJ2-6*01_F","TRBJ2-3*01_F","TRBJ1-4*01_F","TRBJ2-6*01_F","TRBJ2-1*01_F","TRBJ1-1*01_F","TRBJ2-4*01_F","TRBJ2-6*01_F","TRBJ2-6*01_F","TRBJ2-5*01_F","TRBJ1-4*01_F","TRBJ2-1*01_F","TRBJ2-5*01_F","TRBJ2-7*01_F","TRBJ1-4*01_F","TRBJ2-1*01_F","TRBJ1-6*01_F","TRBJ1-3*01_F","TRBJ2-6*01_F","TRBJ2-1*01_F"],["TGCGCCAGCAGTGAGTCACGCCACAAAACATTCAGTACTTC","TGCGCCATCAGTGAGTCGGGTGACAGGGGCGAAGACCAAGAGACCCAGTACTTC","TGCGCCAGCAGTGAGTCCCAAGGCTGGGTGCCAACGTACTGACTTTC","TGCGCCAGCAGTGAGTCCTCCCGGGCAGAAACACCATATATTT","TGCGCCAGCAGTGAGTCGAAAGACGAGCAGTTCTTC","TGTGCCATCAGTGAGTCGAAGCTACGAGACACCGGGAGCTGTTTT","CTGTGTCATCAGTGAGTCGGTGAGGGAGCAGTACTTC","TGTGCCAGCAGCTTAGACAGGGCGGTGGGATAATTCACCCTCCACTTT","TGTGCCAGCAGCTTAGCTCGGGACAGGTGGGCGGACCCAGTGCTTC","TGTGCCAGCAGCTTAGCGGCGGACCTAGGGACTAGCGGATCCTACGAGCAGTACTTC","TGTGCGACAGGGTGGAGGAAACACCATATATTTT","TGTGCCAGCAGCTTAGAGGACCCGGTAGCGGCCCTCAGCACAGATACGCAGTATTT","TGTGTCAGCAGCTTAGAGGACAGGCCTTGTGTGAACACTGAAGCTTTCTTT","CTGTGCCAGCAAAGGGAGCAGCGACTCCGGGGAGCTGTTT","TGTGCCAGCAGCTTAGGGAGGGCCTGTCAAGAGACCCAGTACTTC","TGTGCTAGTGGTTTGGGAGAGCATAGCAATCAGCCCAGCATTTT","TGTGCTAGTGGTTTGGTTCGAGAGGGGACGCTTTTTCTCAAGAGACCCAGTACTTC","TGTGCCAGCAGCTTAGGAATCCCGGGACAGGGGCTCGGACTGAAGCTTTCTTT","TGTGCCAGCAGCCGAGGACAGGGGCCCCAGTACTTC","TGTGCCAGCTCACCACCGGAGGACCTAGCCAAACATTCAGTACTTC","TGTGCCAGTACCTACAATGAGCAGTTCTTC","TGTGCCAGCAGTACAGTGGGACCAACTAATGAAACTGTTTT","TGTGCCAGCAGTGAAAGATGGGGACTAGCGGGCCCTGTGGGAGCTGTTTT","TGCAGTGCTAGAGATCGAAGGTACAATGAGCAGTTCTTC","TGCGCCAGCAGTCAATCGAGGGAGAAAGGACAGTACTTC","TGTGCCAGCAGTTTATCCCTAGGACCTTTAAACACCATATATTTT","TGTGCCAGCAGTTTATGGCAGGAAACTGGGCCAACGTCCTGACTTC","TGCAGCGTTGAAGAGAGGGCGCGAACACCGGGTGAGCTGTTTTT","TGTGCCTGGAGGGCAGGACGGGAACACTGAAGCTTTCTTT","TGTGCCTGGAGTGTACAGGCTCACGGTTCTCCTACGAGCAGTACTTC","TGTGCCAGCATCCACTGGGACTAGCGGGTCCTCTATGAGCAGTTCTTC","TGCGCCAGCAGCTGGGCGACTAGCGCTAATGAAACTGTTTT","TGCGCCAGCAGCTTGGGAGAGACTATCTATAATTCACCCCTCCACTTT","TGCGCCAGCAGCTTGTGGACAGGCGCTTGGGGCCAACGTCCTGACTTTC","TGTGCCAGAAGCTTGGAGGGCACAGATACGCAGTATTT","TGTGCCAGCAGCTTGGGTGTGGACAGGGGCAATGAAACTGTTTT","TGTGCCAGCAGCTTGGTCCTACGGCGGGAGGTCTGGTGGCCAACGTCCTGACTTTC","TGTGCCAGCAGCTACTCCTACAATGAGCAGTTCTTC","TGTGCCAGCAGCTTGGACGGACTGGTGAACACTGAAGCTTTCTTT","TGTGCCAGCAGCTTGGCACAGAAGCCAAAACATTCAGTACTTC","TGTGCCAGCAGCTTGGAGGGGCCTCTTGGGGCCAACGTCCTGACTTTC","TGTGCCAGCACACGGGACTCGGCCAACGTCCTGACTTTC","TGTACCAGCAGCTTAGCGCTAGCGGTGTGGCCCACCAAGAGACCCAGTACTTC","TGTGCCAGC
|
||
|
<p>Therefore, <strong>318 VJ families</strong> would undergo the clustering step.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="dendrograms" class="section level2 unnumbered">
|
||
|
<h2>Dendrograms</h2>
|
||
|
<p>Dendrograms of 82/318 VJ families with more than one distinct HVR sequence are shown here (also available in <code>/media/bacon/Carazo_TCRSeq_IonTorrentS5/03_sequenceAnalysis/april_2020/plots/dendrograms_sim_rep_weighted_hclust_wardD</code>). The method used was a weighted hierarchical clustering with ward.D linkage, as it showed to be the best linkage method for sample 111H.0</p>
|
||
|
<p><em>Note: only 82 dendrograms are available because execution halts trying to generate plots for very large (>1000 HVRs) VJ families. Will not fix this since those dendrograms would be unintelligible anyway. 82 dendrograms should be a sufficient sample to compare in silico VJ families to real ones.</em></p>
|
||
|
<pre class="r"><code>######################################################
|
||
|
################## Plot dendrograms ##################
|
||
|
######################################################
|
||
|
|
||
|
# dendro_weighted_clust <- function(data_ec, msa_dir, plot_dir, linkage){
|
||
|
#
|
||
|
# #########################################
|
||
|
# ############# Prepare data ##############
|
||
|
# #########################################
|
||
|
#
|
||
|
# ### Unique reads
|
||
|
# data_ec_uniq <- plyr::ddply(data_ec,.(V_match, J_match, HVR_sequence, HVR_frame), nrow)
|
||
|
# data_ec_uniq <- data_ec_uniq %>% dplyr::rename(Counts = V1)
|
||
|
#
|
||
|
# vj_fam <- split(data_ec_uniq, paste0(data_ec_uniq$V_match, " / ", data_ec_uniq$J_match)) # Split data frame by VJ match into list of data frames
|
||
|
#
|
||
|
# ### Remove single-member VJ families
|
||
|
# single_idx <- unlist(lapply(vj_fam, function(x){nrow(x) == 1})) # Logic vector for one-membered families
|
||
|
# vj_sgl_member <- bind_rows(vj_fam[single_idx]) # Data frame with one member clonotypes
|
||
|
#
|
||
|
# ### List of data frames with VJ families with more than one clonotype
|
||
|
# vj_groups <- vj_fam[!single_idx]
|
||
|
# vj_groups <- lapply(vj_groups, function(x){
|
||
|
# df <- x
|
||
|
# rownames(df) <- 1:nrow(df)
|
||
|
# return(df)
|
||
|
# })
|
||
|
#
|
||
|
# ### Create DNAStringSet
|
||
|
# vj_groups_dss <- lapply(vj_groups, function(x){ # List of QualityScaledDNAStringSet with VJ families with more than one clonotype
|
||
|
# dss <- DNAStringSet(x[,"HVR_sequence"]) # Sequences
|
||
|
# ids <- rownames(x)
|
||
|
# names(dss) <- ids
|
||
|
# return(dss)
|
||
|
# })
|
||
|
#
|
||
|
#
|
||
|
# ########################################
|
||
|
# ############ Generate plots ############
|
||
|
# ########################################
|
||
|
#
|
||
|
# lapply(1:length(vj_groups), function(idx){
|
||
|
#
|
||
|
# v_name <- gsub("_.*", "", vj_groups[[idx]][1,"V_match"])
|
||
|
# j_name <- gsub("_.*", "", vj_groups[[idx]][1,"J_match"])
|
||
|
#
|
||
|
# ### MSA ###
|
||
|
#
|
||
|
# hvr_msa <- invisible(DNAStringSet(msaClustalW(vj_groups_dss[idx][[1]],
|
||
|
# gapOpening = 1)))
|
||
|
#
|
||
|
# msa_path <- paste0(msa_dir, "hvr_msa_", v_name, "_", j_name, ".fasta")
|
||
|
# writeXStringSet(hvr_msa, msa_path)
|
||
|
#
|
||
|
# ### LEVENSHTEIN DISTANCE ###
|
||
|
#
|
||
|
# df <- vj_groups_dss[idx][[1]]
|
||
|
# ld <- stringDist(df, method = "levenshtein", upper = TRUE, diag = TRUE)
|
||
|
#
|
||
|
# ### HIERARCHICAL CLUSTERING ###
|
||
|
# ld_hc <- hclust(ld, method = linkage, members = vj_groups[[idx]][,"Counts"])
|
||
|
#
|
||
|
# ### GGTREE ###
|
||
|
#
|
||
|
# p <- ggtree(ld_hc)
|
||
|
#
|
||
|
# d <- data.frame(label = rownames(vj_groups[[idx]]),
|
||
|
# HVR_frame = vj_groups[[idx]][, "HVR_frame"],
|
||
|
# Counts = vj_groups[[idx]][, "Counts"])
|
||
|
#
|
||
|
# mycols <- c("mediumseagreen", "orange2", "firebrick2")
|
||
|
# names(mycols) <- c("0", "1", "2")
|
||
|
# p2 <- p %<+% d +
|
||
|
# geom_tiplab() +
|
||
|
# geom_point(aes(color=factor(HVR_frame, levels = c(0, 1, 2)), size = Counts, x=x+(x*0.18))) +
|
||
|
# scale_color_manual(values = mycols, name = "HVR frame")
|
||
|
#
|
||
|
#
|
||
|
# m <- msaplot(p2, fasta = msa_path,
|
||
|
# offset = max(ld_hc$height) * 0.125,
|
||
|
# width = 2)
|
||
|
#
|
||
|
# nuc_colors <- c(NA, "#a2fa8c", "#ffd18c", "#f38d8a", "#8ab8f5")
|
||
|
# names(nuc_colors) <- c("-", "a", "c", "g", "t")
|
||
|
# m <- m +
|
||
|
# scale_fill_manual(values = nuc_colors, name = "Nucleotide") +
|
||
|
# ggtitle(paste(v_name, "/", j_name, "family"))
|
||
|
#
|
||
|
# ggsave(filename = paste0(plot_dir, v_name, "_", j_name, ".png"),
|
||
|
# plot = m,
|
||
|
# width = 10,
|
||
|
# height = 5 + nrow(vj_groups[[idx]])*0.06,
|
||
|
# limitsize = FALSE)
|
||
|
# })
|
||
|
# }</code></pre>
|
||
|
<pre class="r"><code>############ ERROR: stops at 82 dendrograms. Probably could not generate png in large VJ family (>1000 HVRs) as it could not allocate the file in memory.
|
||
|
|
||
|
# dendro_weighted_clust(vj_alg_good,
|
||
|
# msa_dir = "plots/dendrograms_sim_rep_weighted_hclust_wardD/MSA/",
|
||
|
# plot_dir = "plots/dendrograms_sim_rep_weighted_hclust_wardD/",
|
||
|
# linkage = "ward.D")</code></pre>
|
||
|
<pre class="r"><code>dendro_plots <- paste0(list.files("plots/dendrograms_sim_rep_weighted_hclust_wardD", full.names = TRUE, pattern = "*.png"))
|
||
|
names(dendro_plots) <- str_replace_all(dendro_plots,
|
||
|
c("\\.png" = "",
|
||
|
"plots/dendrograms_sim_rep_weighted_hclust_wardD/" = ""))
|
||
|
|
||
|
bsselect(dendro_plots, type = "img", selected = NULL,
|
||
|
show_tick = TRUE, frame_height = "100%",
|
||
|
dropup_auto = FALSE, size = 10,
|
||
|
height = 50)</code></pre>
|
||
|
|
||
|
<html>
|
||
|
<select id="22OPlRsq1T" class="selectpicker" data-dropdown-align-right="false" data-dropup-auto="false" data-header="false" data-live-search="false" data-live-search-style="contains" data-show-tick="true" data-width="false" data-size="10"><option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV1*01_TRBJ1-4*01.png">TRBV1*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV1*01_TRBJ2-1*01.png">TRBV1*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-1*01_TRBJ1-2*01.png">TRBV10-1*01_TRBJ1-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-1*01_TRBJ1-5*01.png">TRBV10-1*01_TRBJ1-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-1*01_TRBJ2-7*01.png">TRBV10-1*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-2*01_TRBJ1-4*01.png">TRBV10-2*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-2*01_TRBJ2-4*01.png">TRBV10-2*01_TRBJ2-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-2*01_TRBJ2-5*01.png">TRBV10-2*01_TRBJ2-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-2*01_TRBJ2-7*01.png">TRBV10-2*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*01_TRBJ1-1*01.png">TRBV10-3*01_TRBJ1-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*01_TRBJ1-3*01.png">TRBV10-3*01_TRBJ1-3*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*01_TRBJ1-4*01.png">TRBV10-3*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*01_TRBJ1-5*01.png">TRBV10-3*01_TRBJ1-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*01_TRBJ2-1*01.png">TRBV10-3*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*01_TRBJ2-2*01.png">TRBV10-3*01_TRBJ2-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*01_TRBJ2-7*01.png">TRBV10-3*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*02_TRBJ1-1*01.png">TRBV10-3*02_TRBJ1-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV10-3*02_TRBJ2-1*01.png">TRBV10-3*02_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-1*01_TRBJ2-1*01.png">TRBV11-1*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ1-1*01.png">TRBV11-2*01_TRBJ1-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ1-2*01.png">TRBV11-2*01_TRBJ1-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ1-4*01.png">TRBV11-2*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ1-5*01.png">TRBV11-2*01_TRBJ1-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ1-6*01.png">TRBV11-2*01_TRBJ1-6*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ2-1*01.png">TRBV11-2*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ2-2*01.png">TRBV11-2*01_TRBJ2-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ2-5*01.png">TRBV11-2*01_TRBJ2-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ2-6*01.png">TRBV11-2*01_TRBJ2-6*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*01_TRBJ2-7*01.png">TRBV11-2*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-2*02_TRBJ1-3*01.png">TRBV11-2*02_TRBJ1-3*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-3*01_TRBJ1-6*01.png">TRBV11-3*01_TRBJ1-6*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-3*01_TRBJ2-1*01.png">TRBV11-3*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-3*01_TRBJ2-3*01.png">TRBV11-3*01_TRBJ2-3*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV11-3*01_TRBJ2-7*01.png">TRBV11-3*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV12-5*01_TRBJ1-2*01.png">TRBV12-5*01_TRBJ1-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV12-5*01_TRBJ1-4*01.png">TRBV12-5*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV12-5*01_TRBJ2-1*01.png">TRBV12-5*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV12-5*01_TRBJ2-7*01.png">TRBV12-5*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV13*01_TRBJ1-6*01.png">TRBV13*01_TRBJ1-6*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV13*01_TRBJ2-1*01.png">TRBV13*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV13*01_TRBJ2-7*01.png">TRBV13*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV14*01_TRBJ1-1*01.png">TRBV14*01_TRBJ1-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV14*01_TRBJ1-4*01.png">TRBV14*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV14*01_TRBJ2-2*01.png">TRBV14*01_TRBJ2-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV14*01_TRBJ2-5*01.png">TRBV14*01_TRBJ2-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV14*01_TRBJ2-7*01.png">TRBV14*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV14*02_TRBJ1-5*01.png">TRBV14*02_TRBJ1-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV15*01_TRBJ1-1*01.png">TRBV15*01_TRBJ1-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV15*01_TRBJ1-2*01.png">TRBV15*01_TRBJ1-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV15*01_TRBJ1-4*01.png">TRBV15*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV15*01_TRBJ2-1*01.png">TRBV15*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV15*01_TRBJ2-2*01.png">TRBV15*01_TRBJ2-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV15*01_TRBJ2-3*01.png">TRBV15*01_TRBJ2-3*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV15*01_TRBJ2-5*01.png">TRBV15*01_TRBJ2-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV15*01_TRBJ2-7*01.png">TRBV15*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ1-1*01.png">TRBV18*01_TRBJ1-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ1-2*01.png">TRBV18*01_TRBJ1-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ1-3*01.png">TRBV18*01_TRBJ1-3*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ1-4*01.png">TRBV18*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ1-5*01.png">TRBV18*01_TRBJ1-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ1-6*01.png">TRBV18*01_TRBJ1-6*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ2-1*01.png">TRBV18*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ2-2*01.png">TRBV18*01_TRBJ2-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ2-3*01.png">TRBV18*01_TRBJ2-3*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ2-5*01.png">TRBV18*01_TRBJ2-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV18*01_TRBJ2-7*01.png">TRBV18*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ1-1*01.png">TRBV19*01_TRBJ1-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ1-2*01.png">TRBV19*01_TRBJ1-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ1-3*01.png">TRBV19*01_TRBJ1-3*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ1-4*01.png">TRBV19*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ1-5*01.png">TRBV19*01_TRBJ1-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ2-1*01.png">TRBV19*01_TRBJ2-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ2-2*01.png">TRBV19*01_TRBJ2-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ2-3*01.png">TRBV19*01_TRBJ2-3*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ2-5*01.png">TRBV19*01_TRBJ2-5*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ2-6*01.png">TRBV19*01_TRBJ2-6*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*01_TRBJ2-7*01.png">TRBV19*01_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV19*03_TRBJ2-7*01.png">TRBV19*03_TRBJ2-7*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV2*01_TRBJ1-1*01.png">TRBV2*01_TRBJ1-1*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV2*01_TRBJ1-2*01.png">TRBV2*01_TRBJ1-2*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV2*01_TRBJ1-4*01.png">TRBV2*01_TRBJ1-4*01</option>
|
||
|
<option value="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV2*01_TRBJ1-5*01.png">TRBV2*01_TRBJ1-5*01</option></select>
|
||
|
<img src="plots/dendrograms_sim_rep_weighted_hclust_wardD/TRBV1*01_TRBJ1-4*01.png" name="0xb33qkXfT" height="100%" width="100%"/>
|
||
|
<script>$(document).ready(function(){
|
||
|
$("#22OPlRsq1T").change(function(){
|
||
|
$("img[name=0xb33qkXfT]").attr("src",$(this).val());
|
||
|
|
||
|
});
|
||
|
|
||
|
});</script>
|
||
|
</html>
|
||
|
<div id="htmlwidget-9126ad6fd074f5ef0eea" style="width:672px;height:50px;" class="bsselect html-widget" width="672" height="50"></div>
|
||
|
<script type="application/json" data-for="htmlwidget-9126ad6fd074f5ef0eea">{"x":[],"evals":[],"jsHooks":[]}</script>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="tunning-simulated-sequencing-error-rates-new" class="section level1">
|
||
|
<h1><span class="header-section-number">4</span> Tunning simulated sequencing error rates <span class="label label-info">New</span></h1>
|
||
|
<p>Default <code>CuReSim</code> error rates for Ion Torrent technology are 1% deletion, 0.5% insertion and 0.5% substitution, but these values are extracted from 2012 publications (<a href="https://www.nature.com/articles/nbt.2198">source 1</a>, <a href="https://www.hindawi.com/journals/bmri/2012/251364/">2</a>, <a href="https://bmcgenomics.biomedcentral.com/articles/10.1186/1471-2164-13-341">3</a>) that worked with old chips of the Ion Torrent PGM platform. Our TCR sequences were obtained with the newer Ion Torrent S5 platform (chip 530), which generates more high-quality reads than the PGM (<a href="https://www.sciencedirect.com/science/article/abs/pii/S0166093420301178">source</a>). However, S5 error rates could not be found in the literature.</p>
|
||
|
<p>Ideas for error rate values testing:</p>
|
||
|
<ul>
|
||
|
<li>According to <code>CuReSim</code> publication <em>"precision and recall values were closer to the values obtained for the real dataset values when reads were generated with 0.5% deletions, 0.25% insertions, and 0.25% substitutions"</em>.</li>
|
||
|
<li>In <a href="https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1003031&type=printable">this publication</a> three Ion Torrent PGM sequencing kits were compared in terms of error rates (deletion / insertion / substitution):</li>
|
||
|
<li>100 bp One Touch: 0.8% / 0.84% / 0.04%</li>
|
||
|
<li>~200 bp Manual: 1.98% / 2.69% / 0.17 %~ (discarded, higher indel rates than <code>CuReSim</code> default).</li>
|
||
|
<li>~200 bp One Touch: 1.07% / 1.76% / 0.07%~ (discarded, higher indel rates than <code>CuReSim</code> default).</li>
|
||
|
<li>In <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5556038/pdf/41598_2017_Article_8139.pdf">this publication</a> the error rates are estimated with hepatitis B virus genome: <strong>0.13% / 0.27% / ~0.08%</strong>.</li>
|
||
|
</ul>
|
||
|
<p>We tried this last configuration:</p>
|
||
|
<ul>
|
||
|
<li><strong>Deletion</strong>: 0.13%</li>
|
||
|
<li><strong>Insertion</strong>: 0.27%</li>
|
||
|
<li><strong>Substitution</strong>: 0.08%</li>
|
||
|
</ul>
|
||
|
<div id="curesim-results" class="section level2 unnumbered">
|
||
|
<h2><code>CuReSim</code> results</h2>
|
||
|
<p><embed src="data:application/pdf;base64,JVBER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JivWKF4RHFI8akSXslIia3EUVqlVKN0VOmG0rQyVdlGOVQ5Q3mzcovyBeVHFCzFiOJD4VGKKPsoZyhjVISqT2VTudR11EbqWeo4DUMzpgXQUmmltG9og7QpFYqKnUq0Sp5KjcpxFSkdoRvRA+jp9DL6Yfp1+jtVLVVPVb7qJtU21Suqr9XmqHmo8dVK1NrVRtTeqTPUfdTT1Lepd6nf00BpmGmEa+Rq7NE4q/F0Dm2OyxzunJI5h+fc1oQ1zTQjNFdo7tMc0JzW0tby08rSqtI6o/VUm67toZ2qvUP7hPakDlXHTUegs0PnpM5jhgrDk5HOqGT0MaZ0NXX9dSW69bqDujN6xnpReoV67Xr39An6LP0k/R36vfpTBjoGIQYFBq0Gtw3xhizDFMNdhv2Gr42MjWKMNhh1GT0yVjMOMM43bjW+a0I2cTdZZtJgcs0UY8oyTTPdbXrZDDazN0sxqzEbMofNHcwF5rvNhy3QFk4WQosGixtMEtOTmcNsZY5a0i2DLQstuyyfWRlYxVtts+q3+mhtb51u3Wh9x4ZiE2hTaNNj86utmS3Xtsb22lzyXN+5q+d2z31uZ27Ht9tjd9Oeah9iv8G+1/6Dg6ODyKHNYdLRwDHRsdbxBovGCmNtZp13Qjt5Oa12Oub01tnBWex82PkXF6ZLmkuLy6N5xvP48xrnjbnquXJc612lbgy3RLe9blJ3XXeOe4P7Aw99D55Hk8eEp6lnqudBz2de1l4irw6v12xn9kr2KW/E28+7xHvQh+IT5VPtc99XzzfZt9V3ys/eb4XfKX+0f5D/Nv8bAVoB3IDmgKlAx8CVgX1BpKAFQdVBD4LNgkXBPSFwSGDI9pC78w3n
|
||
|
<pre class="r"><code>### nohup java -jar CuReSim.jar -f ../input/00_first_test.fastq -d 0.0013 -i 0.0027 -s 0.0008 -o ../output/01_HCV_error_rates_d013_i027_s008.fastq -v &
|
||
|
|
||
|
curesim_fq <- ShortRead::readFastq("software/CuReSim/output/01_HCV_error_rates_d013_i027_s008.fastq") # Read .fq file and store in a ShortReadQ class object
|
||
|
reads_sim <- ShortRead::sread(curesim_fq) # DNAStringSet with the reads
|
||
|
quality_sim <- quality(curesim_fq) # BStringSet with the sequencing qualities
|
||
|
|
||
|
new.quality.class <- switch(class(quality_sim), # Convert from BStringSet to XStringQuality
|
||
|
SFastqQuality="SolexaQuality",
|
||
|
FastqQuality="PhredQuality",
|
||
|
"XStringQuality")
|
||
|
quality_sim <- as(quality_sim, new.quality.class)
|
||
|
|
||
|
sample_sim <- QualityScaledDNAStringSet(reads_sim, quality_sim) # Get QualityScaledDNAStringSet to use as a pairwiseAlignment input
|
||
|
names(sample_sim) <- as.character(curesim_fq@id) # Character vector with the reads IDs
|
||
|
|
||
|
sample_sim_rc <- reverseComplement(sample_sim)
|
||
|
|
||
|
# Readlength histogram
|
||
|
rl_after <- ggplot() +
|
||
|
aes(width(sample_sim_rc)) +
|
||
|
geom_histogram(color="dodgerblue", fill="dodgerblue", binwidth = 1) +
|
||
|
scale_y_continuous(name = "Counts", expand = c(0.01,0)) +
|
||
|
scale_x_continuous("Read length", expand = c(0.01,0)) +
|
||
|
ggtitle("After") +
|
||
|
theme_pubr()
|
||
|
|
||
|
###
|
||
|
rm(reads_sim, quality_sim, sample_sim, curesim_fq)</code></pre>
|
||
|
<p>Readlength before and after <code>CuReSim</code>:</p>
|
||
|
<pre class="r"><code>rl_before + rl_after</code></pre>
|
||
|
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABUAAAAJACAIAAADDw1viAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAgAElEQVR4nOzdeVzVdd7//9cHEREBMw6uZbKouZMaSJmhlqmlJtrUZJPYWOlcfXOXNNTRUsS61LplNrZgM+UCgUsuk2NemgtuuZBSYASO4sqiR0BZ5Pz++Fy/z5yL5XAwzvI5Pu63uV23N+/3+/X5vLnd5pq3Tz6bYjKZBAAAAAAAODc3Ry8AAAAAAADUjgAPAAAAAIAOEOABAAAAANABAjwAAAAAADpAgAcAAAAAQAcI8AAAAAAA6AABHgAAAAAAH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mRcvXiwqKqq0KivZ+rcAAMAy8/vnDx48aPlbxNpt8xUVFQkJCfW7EvZEAKgWAR46c/r0abXRunVrrbNPnz5asP/xxx8tlFdUVHz3/7P+6fFHHnlEa1u+t9B8tG/fvlYeX2Xr3wIAAAsKCgq2bdumtjt06BAWFmZ5/ksvvaS16/0uevZEAKgWAR56smHDhosXL6rtiIgIrb9JkyYDBgxQ28uXL6+oqKjpCKtXrx48ePDgwYP/9Kc/NWrUyMrzdunSRXt93fz586t9uF1EiouLFy5cqLa7deumXbe3kq1/CwAALEhMTCwtLVXbY8eOrXV+REREmzZt1Pbhw4d//fXXelwMeyIAVIsAD904ffr0m2++qbbd3NzGjBljPjp9+nS1cfDgwTfeeKPa
|
||
|
</div>
|
||
|
<div id="vj-alignment-1" class="section level2 unnumbered">
|
||
|
<h2>VJ alignment</h2>
|
||
|
<pre class="r"><code>######################################################
|
||
|
#################### VJ alignment ####################
|
||
|
######################################################
|
||
|
|
||
|
### VJ_alignment.R script executed via terminal (nohup)
|
||
|
|
||
|
print("Execution time: 14.691883502139 hours")</code></pre>
|
||
|
<pre><code>## [1] "Execution time: 14.691883502139 hours"</code></pre>
|
||
|
<pre class="r"><code>vj_alg_sim_01 <- readRDS("data/simulated_repertoires/01_VJ_alignment_HCV_error_rates.rds") # Data too big for datatable (RStudio crashes)</code></pre>
|
||
|
<div id="alignment-summary-1" class="section level3 unnumbered">
|
||
|
<h3>Alignment summary</h3>
|
||
|
<pre class="r"><code>###################################################### (4)
|
||
|
################# VJ alignment results ###############
|
||
|
###################################################### (4)
|
||
|
|
||
|
alg_rep_data <- select(vj_alg_sim_01,
|
||
|
V_score,
|
||
|
J_score,
|
||
|
Cys_check,
|
||
|
Phe_check,
|
||
|
HVR_frame)
|
||
|
|
||
|
alg_rep_data$HVR_status <- ifelse((alg_rep_data$V_score < 0 | alg_rep_data$J_score < 0 | !alg_rep_data$Cys_check | !alg_rep_data$Phe_check),
|
||
|
"HVR not found",
|
||
|
"HVR found")
|
||
|
alg_rep_data$label <- NA
|
||
|
alg_rep_data[alg_rep_data$V_score < 0, "label"] <- "No V"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score < 0), "label"] <- "No J"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & !alg_rep_data$Cys_check & alg_rep_data$Phe_check), "label"] <- "No Cys"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & alg_rep_data$Cys_check & !alg_rep_data$Phe_check), "label"] <- "No Phe"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & !alg_rep_data$Cys_check & !alg_rep_data$Phe_check), "label"] <- "No Cys no Phe"
|
||
|
alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & alg_rep_data$Cys_check & alg_rep_data$Phe_check), "label"] <- paste("Frame", alg_rep_data[(alg_rep_data$V_score > 0 & alg_rep_data$J_score > 0 & alg_rep_data$Cys_check & alg_rep_data$Phe_check), "HVR_frame"])
|
||
|
|
||
|
PieDonut(alg_rep_data, aes(HVR_status,label),
|
||
|
showPieName=FALSE,
|
||
|
labelposition = 1,
|
||
|
showRatioThreshold = 0.009,
|
||
|
color = "white",
|
||
|
explode = 2,
|
||
|
explodeDonut = TRUE,
|
||
|
explodePie = TRUE,
|
||
|
r0 = 0,
|
||
|
r1 = 0.9,
|
||
|
start = pi/2,
|
||
|
maxx = 1.6,
|
||
|
explodePos = 0,
|
||
|
donutLabelSize = 3.5,
|
||
|
showRatioDonut = FALSE,
|
||
|
title = "VJ alignment (simulated repertoire, HCV error rates)")</code></pre>
|
||
|
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABUAAAAPACAIAAAB7BESOAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAgAElEQVR4nOzdd3wUZf7A8e9ueq8EQkkCIk0UQbBQLTTvBEU4G/Z2nqCiYsUT9byTEwun4v1OPATFh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Af/nll3X64DGbzdq4uJqwsLD09PQ687YigV+3bl2dvDQgIECr0BCR4OBgre+0JhJ4dTo0NHTGjBkffPDBunXr3nrrLfUeturZZ5+ts2otUXzwwQenTp0qIiNGjPjXv/61fv369957b9SoUdq8t9xyy6uvvioi/v7+s2bNWrly5bfffvvMM89o1/Xw8PDMzMz6H6bFYvnTn/5U56Orn22OGTOmoKCgzryt3rpvv/32vvvuu++++2JiYtR3L7/8cvWVpUuXOnAI/KagoEA9GIYNG9ZYmVOnTqk97tgfMEFBQXW2Ua1LaXADG0vg3bRf3JfAt+7ccXB/OXMsKYoyf/58qcdkMmnTISEhjzzyiDrd6gT+iSeeuPbaa+1XERsbe/z4cZdshZbA//LLL2rj586dO8+YMeONN9546aWXJk2apH1vhISEbNq0qX6cLjkfm9hGx0+9I0eOdOvWzX4hDR4q48ePr1//1mwC79a94BKuTeCHDx+uvj58+HAXBtkGF2uVuw9Lx4spLjoym11L0xxfjsd+5bb6sqj56KOP1DLPPPOMg58b4FFI4NHeaANxnXXWWQ0WKC0t
|
||
|
<pre class="r"><code>df1 <- as.data.frame(table(alg_rep_data$HVR_status))
|
||
|
colnames(df1) <- c("Status", "# Reads")
|
||
|
df2 <- as.data.frame(table(alg_rep_data$label))
|
||
|
colnames(df2) <- c("Status", "# Reads")
|
||
|
knitr::kable(df1)</code></pre>
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr class="header">
|
||
|
<th align="left">Status</th>
|
||
|
<th align="right"># Reads</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr class="odd">
|
||
|
<td align="left">HVR found</td>
|
||
|
<td align="right">1595806</td>
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td align="left">HVR not found</td>
|
||
|
<td align="right">48112</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<pre class="r"><code>knitr::kable(df2)</code></pre>
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr class="header">
|
||
|
<th align="left">Status</th>
|
||
|
<th align="right"># Reads</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr class="odd">
|
||
|
<td align="left">Frame 0</td>
|
||
|
<td align="right">628448</td>
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td align="left">Frame 1</td>
|
||
|
<td align="right">545218</td>
|
||
|
</tr>
|
||
|
<tr class="odd">
|
||
|
<td align="left">Frame 2</td>
|
||
|
<td align="right">422140</td>
|
||
|
</tr>
|
||
|
<tr class="even">
|
||
|
<td align="left">No Phe</td>
|
||
|
<td align="right">48112</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<p>Despite having considerably reduced error rates, out-of-frame HVRs still have a higher frequency than expected.</p>
|
||
|
<p>Let's compare the VJ alignment score and identity distributions among a real repertoire (111L, ~200k reads) and the two simulated ones (~1.5M reads each):</p>
|
||
|
<pre class="r"><code>vj_alg_111L <- readRDS("data/vj_alignment_sample_111L.rds")
|
||
|
|
||
|
sc_id_comp <- do.call(rbind, list("111L" = select(vj_alg_111L, c("V_score", "V_identity", "J_score", "J_identity")),
|
||
|
"sim_00" = select(vj_alg_sim, c("V_score", "V_identity", "J_score", "J_identity")),
|
||
|
"sim_01" = select(vj_alg_sim_01, c("V_score", "V_identity", "J_score", "J_identity"))))
|
||
|
|
||
|
sc_id_comp$Sample <- as.factor(sub("\\..*", "", rownames(sc_id_comp)))
|
||
|
|
||
|
sc_id_comp.m <- melt(sc_id_comp, id.vars = "Sample")
|
||
|
|
||
|
|
||
|
calc_stat <- function(x) {
|
||
|
coef <- 1.5
|
||
|
n <- sum(!is.na(x))
|
||
|
# calculate quantiles
|
||
|
stats <- quantile(x, probs = c(0.1, 0.25, 0.5, 0.75, 0.9))
|
||
|
names(stats) <- c("ymin", "lower", "middle", "upper", "ymax")
|
||
|
return(stats)
|
||
|
}
|
||
|
|
||
|
sc_id_comp_plt <- ggplot(sc_id_comp.m, aes(x = Sample, y = value, color = Sample)) +
|
||
|
stat_summary(fun.data = calc_stat, geom="boxplot") +
|
||
|
# geom_boxplot(outlier.shape = NA) +
|
||
|
# scale_y_continuous() +
|
||
|
# scale_x_continuous(name = "Bin", breaks = seq(-10, -1)) +
|
||
|
# scale_color_manual(name = "Reading frame", values = c("mediumseagreen", "orange", "orangered")) +
|
||
|
facet_wrap(. ~ variable, scales = "free") +
|
||
|
theme_pubr()
|
||
|
sc_id_comp_plt</code></pre>
|
||
|
<pre><code>## Warning: Removed 122 rows containing non-finite values (stat_summary).</code></pre>
|
||
|
<div class="figure">
|
||
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAPACAIAAAB1tIfMAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAgAElEQVR4nOzdeUAV5f7H8e9hFwFBQRFzAzXcSdxT03Atl1xKE7P0umblzTW9amaloeWWmpml13LLNfcMU3MLc19QUdwQXABBRNnP+f0x3fOjwyLDNhx4v/6548zzzHyBmPvhOc88ozMYDAIAAAAgZyy0LgAAAAAwJwRoAAAAQAUCNAAAAKACARoAAABQgQANAAAAqECABgAAAFQgQAMAAAAqEKABAAAAFQjQAAAAgAoEaAAAAEAFAjQAAACgAgEaAAAAUIEADQAAAKhAgAYAAABUIEADAAAAKhCgAQAAABUI0AAAAIAKBGgAAABABQI0AAAAoAIBGgAAAFCBAA0AAACoQIAGAAAAVCBAAwAAACoQoAEAAAAVCNAAAACACgRoAAAAQAUCNAAAAKACARoAAABQgQANAAAAqECABgAAAFQgQAMAAAAqEKABAAAAFQjQAAAAgAoEaAAAAEAFAjQAc6DXp6xanjx7hiHsltalQEQkSZ/yyukxzx/pey7+mta1IP8lp8qXu+U/m+RurNalAEUSARqAGTBE3NFfPGeIjkr765jWtUBE5M9HF3ZHHQt5entlxE6ta0H+u3JPgiPkbqwcC9W6FKBIIkADMAOGtLS/t9L0mhaCv6UYUv/e0KdqWwkKgvH3jF84IFMEaAAAAEAFAjQAAACgAgEaAAAAUIEADQAAAKigM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IeHy5cs//fRT/fr1Dx48+MzuBoPhgw8++PDDD+vXrz906FBHR8ddu3a9+OKLhw4daty48fbt27t37/7WW2/dvXv3m2++6datW6a/d9k7duyYiLRu3bps2bLp99vb2yt/SB85ckRty5KjOP18hd/04krT+A5o5vjx4zqdTvktKF++/Pz58yMiInLe/T//+Y/Sd9SoUWlpaekPnThxwtHRUUQqV65s0ku5sYpIrVq1EhIS0h+aO3eu8bdy1KhRJh3btWunHLpx44Zxp3EEWkSqVat27dq19F0SEhLeeOMN5ejnn3+e/lCmI9BffPGF0tjHx+fcuXPpD23fvr1ChQrK0b179+bk+5M9cxyBTm/lypWSszGk/GrJCLSJr7/+WkTs7Oy+/fbbyMjIpKSkEydOKH801qhRw9gsqxFKOzu7atWqGX+bYmNjK1asqPwX3qlTp/j4eGX/sWPHlLvEoUOqvy2vv/66iHzwwQcZD3300Uci0rlzZ7Utc83sRqCL08/XRM7vCSjiWIUDJVSTJk3efffdxYsXi8iDBw/+/e9/jxkzpkmTJh06dGjfvn2LFi1sbGyy6X706FERsbe3/+qrr0zmTvj6+nbr1m3NmjVhYWExMTEuLi4ZuwcEBNjZ2aXf06VLlzFjxoiIo6Pj559/btK+S5cu+/fvF5GQkJBMZ/sFBAR4eXml32NnZ7d06dI9e/bExcUtWLBg/Pjx1tZZvkEhISHhyy+/FBFnZ+dt27ZVrlw5/dGuXbuuWbOmffv2BoNhypQpHTp0yOo8OfW/8R598HlDzMO8ni0bqakiwotUnkkvf/9ENj3YH/zkRkFeSC8ieV8KWnnM4P333x82bJiyx9fX99tvv23UqNG1a9cePHiQzZPBIpKYmDhnzhzjr1KZMmX69es3b948Gxub7777rnTp0sr+5s2b+/j4nD59+vLly61aqVse+969eyJiMjypKFeunLGBqpa5ZnyRyvHrcjMqjyd79lXy/iKV4vTzRXFFgEbJtWjRIk9PzxkzZjx69EhE9Hp9UFBQUFDQZ599Zm9v36ZNm/bt2/ft21eZrGx
|
||
|
<p class="caption">
|
||
|
Outliers have been removed from these plots.
|
||
|
</p>
|
||
|
</div>
|
||
|
<p>In our reads, sequencing goes from C segment to V segment (<code>C-J-HVR-V</code>). Simulated reads were reverse complemented to mimic this situation (<code>J-HVR-V</code>). However, simulated reads lack the portion of segment C and therefore are ~100 bp shorter. Conclusions that could be extracted from this:</p>
|
||
|
<ol style="list-style-type: decimal">
|
||
|
<li>V score and identity is lower in 111H because reads are larger and V is located at the end.</li>
|
||
|
<li>J score and identity is higher in 111H maybe because error rates are still too high in the simulated repertoire (?). Since simulated samples have shorter reads, J is located at the beginning and its score and identity should be higher than that of real repertoires, not lower.</li>
|
||
|
</ol>
|
||
|
<hr />
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="session-info" class="section level1 unnumbered">
|
||
|
<h1>Session info</h1>
|
||
|
<pre class="r"><code>sessionInfo()</code></pre>
|
||
|
<pre><code>## R version 3.6.1 (2019-07-05)
|
||
|
## Platform: x86_64-pc-linux-gnu (64-bit)
|
||
|
## Running under: Ubuntu 18.04.2 LTS
|
||
|
##
|
||
|
## Matrix products: default
|
||
|
## BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
|
||
|
## LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so
|
||
|
##
|
||
|
## locale:
|
||
|
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
|
||
|
## [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
|
||
|
## [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
|
||
|
## [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
|
||
|
## [9] LC_ADDRESS=C LC_TELEPHONE=C
|
||
|
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
|
||
|
##
|
||
|
## attached base packages:
|
||
|
## [1] stats4 parallel stats graphics grDevices utils datasets
|
||
|
## [8] methods base
|
||
|
##
|
||
|
## other attached packages:
|
||
|
## [1] reshape2_1.4.4 apcluster_1.4.8 WeightedCluster_1.4-1
|
||
|
## [4] cluster_2.1.0 TraMineR_2.2-0.1 bsselectR_0.1.0
|
||
|
## [7] stringr_1.4.0 ggtree_2.0.4 plyr_1.8.6
|
||
|
## [10] webr_0.1.5 dplyr_1.0.2 msa_1.16.0
|
||
|
## [13] patchwork_1.0.1 ggpubr_0.2.1 magrittr_1.5
|
||
|
## [16] ggplot2_3.3.2 Biostrings_2.52.0 XVector_0.24.0
|
||
|
## [19] IRanges_2.18.3 S4Vectors_0.22.1 BiocGenerics_0.30.0
|
||
|
## [22] DT_0.16 immuneSIM_0.8.7
|
||
|
##
|
||
|
## loaded via a namespace (and not attached):
|
||
|
## [1] uuid_0.1-4 backports_1.2.0
|
||
|
## [3] Hmisc_4.2-0 systemfonts_0.3.2
|
||
|
## [5] igraph_1.2.6 lazyeval_0.2.2
|
||
|
## [7] splines_3.6.1 BiocParallel_1.18.1
|
||
|
## [9] crosstalk_1.1.0.1 GenomeInfoDb_1.20.0
|
||
|
## [11] digest_0.6.27 htmltools_0.5.0
|
||
|
## [13] checkmate_2.0.0 Metrics_0.1.4
|
||
|
## [15] readr_1.4.0 matrixStats_0.57.0
|
||
|
## [17] R.utils_2.10.1 officer_0.3.15
|
||
|
## [19] jpeg_0.1-8.1 colorspace_1.4-1
|
||
|
## [21] xfun_0.19 RCurl_1.98-1.2
|
||
|
## [23] crayon_1.3.4 jsonlite_1.7.1
|
||
|
## [25] rrtable_0.2.1 survival_3.2-7
|
||
|
## [27] zoo_1.8-8 ape_5.4-1
|
||
|
## [29] glue_1.4.2 polyclip_1.10-0
|
||
|
## [31] rvg_0.2.5 gtable_0.3.0
|
||
|
## [33] zlibbioc_1.30.0 DelayedArray_0.10.0
|
||
|
## [35] sjmisc_2.8.5 R.cache_0.14.0
|
||
|
## [37] DEoptimR_1.0-8 scales_1.1.1
|
||
|
## [39] ggthemes_4.2.0 miniUI_0.1.1.1
|
||
|
## [41] Rcpp_1.0.5 xtable_1.8-4
|
||
|
## [43] htmlTable_2.1.0 tmvnsim_1.0-2
|
||
|
## [45] tidytree_0.3.3 foreign_0.8-72
|
||
|
## [47] Formula_1.2-4 vcd_1.4-8
|
||
|
## [49] htmlwidgets_1.5.2 httr_1.4.2
|
||
|
## [51] RColorBrewer_1.1-2 acepack_1.4.1
|
||
|
## [53] ellipsis_0.3.1 pkgconfig_2.0.3
|
||
|
## [55] R.methodsS3_1.8.1 farver_2.0.3
|
||
|
## [57] nnet_7.3-12 labeling_0.4.2
|
||
|
## [59] tidyselect_1.1.0 rlang_0.4.8
|
||
|
## [61] later_1.1.0.1 munsell_0.5.0
|
||
|
## [63] tools_3.6.1 generics_0.1.0
|
||
|
## [65] devEMF_4.0-2 sjlabelled_1.1.7
|
||
|
## [67] moonBook_0.2.3 evaluate_0.14
|
||
|
## [69] fastmap_1.0.1 yaml_2.2.1
|
||
|
## [71] knitr_1.30 robustbase_0.93-6
|
||
|
## [73] zip_2.1.1 purrr_0.3.4
|
||
|
## [75] nlme_3.1-140 mime_0.9
|
||
|
## [77] R.oo_1.24.0 poweRlaw_0.70.6
|
||
|
## [79] pracma_2.2.9 xml2_1.3.2
|
||
|
## [81] compiler_3.6.1 rstudioapi_0.11
|
||
|
## [83] png_0.1-7 ggsignif_0.5.0
|
||
|
## [85] treeio_1.8.2 tibble_3.0.4
|
||
|
## [87] tweenr_1.0.1 stringi_1.5.3
|
||
|
## [89] highr_0.8 gdtools_0.2.2
|
||
|
## [91] lattice_0.20-38 Matrix_1.2-17
|
||
|
## [93] psych_2.0.9 vctrs_0.3.4
|
||
|
## [95] stringdist_0.9.6.3 pillar_1.4.6
|
||
|
## [97] lifecycle_0.2.0 BiocManager_1.30.10
|
||
|
## [99] editData_0.1.2 lmtest_0.9-38
|
||
|
## [101] bitops_1.0-6 data.table_1.13.2
|
||
|
## [103] insight_0.10.0 flextable_0.5.11
|
||
|
## [105] ztable_0.2.2 GenomicRanges_1.36.1
|
||
|
## [107] httpuv_1.5.4 hwriter_1.3.2
|
||
|
## [109] R6_2.5.0 latticeExtra_0.6-29
|
||
|
## [111] ShortRead_1.42.0 promises_1.1.1
|
||
|
## [113] gridExtra_2.3 boot_1.3-23
|
||
|
## [115] MASS_7.3-51.1 SummarizedExperiment_1.14.1
|
||
|
## [117] shinyWidgets_0.5.4 withr_2.3.0
|
||
|
## [119] Rsamtools_2.0.3 GenomicAlignments_1.20.1
|
||
|
## [121] mnormt_2.0.2 GenomeInfoDbData_1.2.1
|
||
|
## [123] hms_0.5.3 repmis_0.5
|
||
|
## [125] grid_3.6.1 rpart_4.1-15
|
||
|
## [127] tidyr_1.1.2 rmarkdown_2.5
|
||
|
## [129] rvcheck_0.1.8 ggforce_0.3.1
|
||
|
## [131] Biobase_2.44.0 shiny_1.5.0
|
||
|
## [133] base64enc_0.1-3</code></pre>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
|
||
|
// add bootstrap table styles to pandoc tables
|
||
|
function bootstrapStylePandocTables() {
|
||
|
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
||
|
}
|
||
|
$(document).ready(function () {
|
||
|
bootstrapStylePandocTables();
|
||
|
});
|
||
|
|
||
|
|
||
|
</script>
|
||
|
|
||
|
<!-- tabsets -->
|
||
|
|
||
|
<script>
|
||
|
$(document).ready(function () {
|
||
|
window.buildTabsets("TOC");
|
||
|
});
|
||
|
|
||
|
$(document).ready(function () {
|
||
|
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
||
|
$(this).parent().toggleClass('nav-tabs-open')
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<!-- code folding -->
|
||
|
<script>
|
||
|
$(document).ready(function () {
|
||
|
window.initializeCodeFolding("hide" === "show");
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<script>
|
||
|
$(document).ready(function () {
|
||
|
|
||
|
// move toc-ignore selectors from section div to header
|
||
|
$('div.section.toc-ignore')
|
||
|
.removeClass('toc-ignore')
|
||
|
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
||
|
|
||
|
// establish options
|
||
|
var options = {
|
||
|
selectors: "h1,h2,h3",
|
||
|
theme: "bootstrap3",
|
||
|
context: '.toc-content',
|
||
|
hashGenerator: function (text) {
|
||
|
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
||
|
},
|
||
|
ignoreSelector: ".toc-ignore",
|
||
|
scrollTo: 0
|
||
|
};
|
||
|
options.showAndHide = true;
|
||
|
options.smoothScroll = true;
|
||
|
|
||
|
// tocify
|
||
|
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<!-- dynamically load mathjax for compatibility with self-contained -->
|
||
|
<script>
|
||
|
(function () {
|
||
|
var script = document.createElement("script");
|
||
|
script.type = "text/javascript";
|
||
|
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
||
|
document.getElementsByTagName("head")[0].appendChild(script);
|
||
|
})();
|
||
|
</script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|