{"id":116,"date":"2015-12-10T12:47:55","date_gmt":"2015-12-10T03:47:55","guid":{"rendered":"http:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/?page_id=116"},"modified":"2015-12-10T12:49:05","modified_gmt":"2015-12-10T03:49:05","slug":"c%e8%a8%80%e8%aa%9e%e8%ac%9b%e5%ba%a7%e3%80%80%e7%ac%ac%ef%bc%95%e5%9b%9e","status":"publish","type":"page","link":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/?page_id=116","title":{"rendered":"C\u8a00\u8a9e\u8b1b\u5ea7\u3000\u7b2c\uff15\u56de"},"content":{"rendered":"<h2>\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u8aad\u307f\u8fbc\u307f\uff08written by Taku Nakahara\uff09<\/h2>\n<p>\u7686\u3055\u3093\u304c\u3053\u308c\u304b\u3089\u5352\u696d\u7814\u7a76\u3067\u66f8\u304f\u3067\u3042\u308d\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u306f<\/p>\n<p>[\u4f55\u3089\u304b\u306e\u5165\u529b\u30d5\u30a1\u30a4\u30eb] -&gt; \u3010\u30d7\u30ed\u30b0\u30e9\u30e0\u3011 -&gt; [\u4f55\u3089\u304b\u306e\u51fa\u529b]<\/p>\n<p>\u3068\u3044\u3046\u683c\u597d\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3068\u3048\u3070 GenBank \u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067fasta\u5f62\u5f0f\u306b\u5909\u63db\u3057\u3066\u66f8\u304d\u51fa\u3059\u3068\u304b\u3001\u305d\u3046\u3044\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307e\u305b\u3066\u3001\u4f55\u304b\u51e6\u7406\u3092\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u66f8\u304d\u65b9\u3092\u52c9\u5f37\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Python\u306e\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>(neco.py)<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\n#!\/usr\/bin\/env python3.4\r\nimport sys\r\nfor line in open(sys.argv&#x5B;1]):\r\n    print(line.rstrip('\\n'))\r\n<\/pre>\n<p>\u3053\u308c\u306f\u3001\u5358\u306b\u30b3\u30de\u30f3\u30c9\u5f15\u6570\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u8868\u793a\u3059\u308b\u3060\u3051\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002Linux\u30b3\u30de\u30f3\u30c9\u3067\u8a00\u3048\u3070cat\u3068\u540c\u3058\u50cd\u304d\u3092\u3057\u307e\u3059\u3002\u5b9f\u8cea\uff12\u884c\u3067\u66f8\u3051\u3066\u307e\u3059\u3002\u3059\u3070\u3089\u3057\u3044\u3002<\/p>\n<p>\u3053\u308c\u3092C\u3067\u66f8\u3044\u3066\u307f\u307e\u3059\u3068\u3001<\/p>\n<p>(neco.c)<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;stdio.h&gt;\r\nint main(int argc, char *argv&#x5B;])\r\n{\r\n    FILE *fp; \/* a file pointer. *\/\r\n    char  line&#x5B;100]; \/* a string of an input file. *\/\r\n    fp = fopen(argv&#x5B;1], &quot;r&quot;); \/* setting the file pointer. *\/\r\n    while (fgets(line, 100, fp) != NULL) { \/* fgets! *\/\r\n        printf(&quot;%s&quot;, line); \/* showing the line. *\/\r\n    }\r\n    fclose(fp); \/* closing the file pointer. *\/\r\n    return 0;\r\n}\r\n<\/pre>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002main()\u95a2\u6570\u3060\u3051\u3067\uff11\uff11\u884c\u3067\u3059\u304b\u3089Python\u306e\uff15\u500d\u4ee5\u4e0a\u3067\u3059\u3002\u3081\u3093\u3069\u304f\u3055\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u89e3\u8aac\u3059\u308b\u3068\u3001\uff11\u884c\u76ee\u306f\u304a\u307e\u3058\u306a\u3044\u3067\u3059\u3002\u3053\u308c\u304c\u306a\u3044\u3068\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3060\u308a\u7d50\u679c\u3092\u66f8\u304d\u51fa\u3057\u305f\u308a\u3067\u304d\u306a\u3044\u3093\u3067\u3059\u3002<\/p>\n<p>\uff12\u884c\u76ee\u306f\u524d\u56de\u3084\u3063\u305f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306e\u5f15\u6570\u3067\u3059\u3002\u5404\u81ea\u5fa9\u7fd2\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\uff14\u884c\u76ee\u3067\u306f\u300c\u30d5\u30a1\u30a4\u30eb\u30dd\u30a4\u30f3\u30bf\u30fc\u300d\u3068\u8a00\u3046\u3082\u306e\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u4f53\u3092\u5165\u308c\u308b\u305f\u3081\u306e\u7bb1\u3060\u3068\u7406\u89e3\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u307b\u3093\u3068\u306f\u30a6\u30bd\u306a\u3093\u3067\u3059\u304c\u3001\u3044\u307e\u306f\u305d\u308c\u3067\u3044\u3044\u3067\u3059\uff09<\/p>\n<p>\uff15\u884c\u76ee\u3067\u306f\u3001\u8aad\u307f\u8fbc\u3093\u3060\u30d5\u30a1\u30a4\u30eb\u306e\uff11\u884c\uff11\u884c\u306e\u6587\u5b57\u5217\u3092\u5165\u308c\u3066\u304a\u304f\u305f\u3081\u306e\u7bb1\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5909\u6570\u5b9a\u7fa9\u3060\u3068100\u6587\u5b57\u307e\u3067\u3057\u304b\u5165\u308a\u307e\u305b\u3093\u306e\u3067\u3001\uff11\u884c\u306b100\u6587\u5b57\u4ee5\u4e0a\u542b\u3080\u3088\u3046\u306a\u5834\u5408\u306b\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\u3061\u306a\u307f\u306bPDB file\u306f\uff11\u884c80\u6587\u5b57\u3068\u6c7a\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u3001100\u6587\u5b57\u5206\u7528\u610f\u3057\u3066\u304a\u3051\u3070\u5341\u5206\u3067\u3059\u3002<\/p>\n<p>\uff16\u884c\u76ee\u3067\u306f\u3001\u3055\u3063\u304d\u7528\u610f\u3057\u305f\u300c\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u308c\u3066\u304a\u304f\u305f\u3081\u306e\u7bb1\u300d\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u30aa\u30fc\u30d7\u30f3\u95a2\u6570\u3067\u3042\u308bfopen()\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u65b9\u5f0f\u3092\u4e0e\u3048\u308b\u3068\u3001\u305d\u306e\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\uff08\u30dd\u30a4\u30f3\u30bf\u30fc\uff09\u3092\u8fd4\u3057\u3066\u304f\u308c\u308b\u95a2\u6570\u3067\u3059\u3002<\/p>\n<pre>fopen(\u201c\u30d5\u30a1\u30a4\u30eb\u540d\u201d, \u201c\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u65b9\u5f0f\u201d) -&gt; \u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u30dd\u30a4\u30f3\u30bf\u30fc\r\n<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u65b9\u5f0f\u3068\u306f\u3001\u8aad\u307f\u53d6\u308a\u5c02\u7528(\u201cr\u201d)\u3001\u66f8\u304d\u8fbc\u307f(\u201cw\u201d)\u3001\u8ffd\u52a0\u66f8\u304d\u8fbc\u307f(\u201ca\u201d)\u7b49\u3067\u3059\u3002<\/p>\n<p>\uff17\u884c\u76ee\u306f\u8aac\u660e\u304c\u5927\u5909\u3067\u3059\u3002\u307e\u305a\u3001while (\u00d7\u00d7\u00d7) { .... } \u3068\u3044\u3046\u69cb\u6587\u306f \u00d7\u00d7\u00d7\u304c\u771f\u306e\u3068\u304d { .... } \u3092\u7e70\u308a\u8fd4\u3057\u884c\u3046\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002Python\u3067\u3082\u540c\u3058\u306a\u306e\u3067\u5206\u304b\u308b\u3068\u671f\u5f85\u3057\u307e\u3059\u3002<\/p>\n<p>\u00d7\u00d7\u00d7\u306b\u3042\u305f\u308b(fgets(line, 100, fp) != NULL)\u3067\u3059\u304c\u3001fgets()\u3068\u3044\u3046\u306e\u306f\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u884c\u4e00\u884c\u8aad\u307f\u8fbc\u3080\u95a2\u6570\u3067\u3059\u3002<\/p>\n<pre>fgets(\u201c\u6587\u5b57\u5217\u3092\u5165\u308c\u308b\u305f\u3081\u306e\u5909\u6570\u201d, \u201c\u6587\u5b57\u5217\u306e\u9577\u3055\u201d, \u201c\u30d5\u30a1\u30a4\u30eb\u30dd\u30a4\u30f3\u30bf\u30fc\u201d)\r\n<\/pre>\n<p>\u3068\u3044\u3046\u69cb\u6587\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u4e00\u884c\u8aad\u307f\u8fbc\u3093\u3067\u300c\u6587\u5b57\u5217\u3092\u5165\u308c\u308b\u305f\u3081\u306e\u5909\u6570\u300d\u306b\u5165\u308c\u307e\u3059\u3002\uff11\u56de\u76ee\u306efgets\u3067\u306f\u4e00\u884c\u76ee\u3092\u3088\u307f\u3053\u307f\u3001\uff12\u56de\u76ee\u306f\uff12\u884c\u76ee\u3001\uff13\u56de\u76ee\u306f\uff13\u884c\u76ee\u3001\u3001\u3001\u3068\u3044\u3046\u98a8\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002while ()\u306e\u4e2d\u3067\u52d5\u3044\u3066\u3044\u308b\u306e\u3067\u7e70\u308a\u8fd4\u3057fgets\u304c\u547c\u3073\u51fa\u3055\u308c\u308b\u8a33\u3067\u3059\u3002\u305d\u3057\u3066\u3064\u3044\u306b\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u5168\u90e8\u8aad\u307f\u8fbc\u3093\u3067\u3057\u307e\u3063\u3066\u8aad\u3080\u3082\u306e\u304c\u306a\u304f\u306a\u308b\u3068fgets()\u95a2\u6570\u306f\u300cNULL\u300d\u3092\u8fd4\u3057\u307e\u3059\u3002NULL\u3068\u3044\u3046\u306e\u306f\u300c\u4f55\u3082\u306a\u3044\u300d\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<\/p>\n<p>fgets()\u304cNULL\u3092\u8fd4\u3059\u3068\u3001(fgets() == NULL)\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\uff08\u5f53\u7136\uff09\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u3055\u304d\u307b\u3069\u306e while (\u00d7\u00d7\u00d7) \u306e\u4e2d\u8eab\u3067\u3042\u308b(fgets() != NULL)\u3068\u3044\u3046\u306e\u304c\u507d\u306b\u306a\u308a\u307e\u3059\u3088\u306d\u3002\u305d\u3046\u3059\u308b\u3068 while () \u306f\u304a\u3057\u307e\u3044\u3067\u3059\u3002<\/p>\n<p>while () { .... } \u306e { .... } \u306e\u90e8\u5206\uff08\uff17\u884c\u76ee\uff09\u3067\u306f\u3001\u8aad\u307f\u8fbc\u3093\u3060\u6587\u5b57\u5217\uff08\u5909\u6570line\u306b\u5165\u3063\u3066\u3044\u308b\uff09\u3092\u66f8\u304d\u51fa\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3067\u4e00\u884c\u305a\u3064\u8aad\u307f\u8fbc\u3093\u3060\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u66f8\u304d\u51fa\u3057\u3066\u3044\u308b\u8a33\u3067\u3059\u3002\u66f8\u304d\u51fa\u3059\u3082\u306e\u304c\u306a\u304f\u306a\u308b\u3068 while (\u00d7\u00d7\u00d7) \u306e \u00d7\u00d7\u00d7\u304c\u507d\u306b\u306a\u3063\u3066\u7d42\u4e86\u3059\u308b\u3068\u3044\u3046\u8a33\u3067\u3059\u3002<\/p>\n<p>\uff19\u884c\u76ee\u306efclose(fp);\u3068\u3044\u3046\u306e\u306f\u3001\u3055\u3063\u304d\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u30dd\u30a4\u30f3\u30bf\u30fc\u3092\u9589\u3058\u306a\u3055\u3044\u3088\u3068\u3044\u3046\u547d\u4ee4\u306b\u306a\u308a\u307e\u3059\u3002\u5b9f\u306f\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u304a\u3044\u3066\u306f\u3053\u306e\u52d5\u4f5c\u306f\u5fc5\u8981\u306a\u3044\u3093\u3067\u3059\u304c\u3001\u3082\u3063\u3068\u8907\u96d1\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u304d\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3063\u3071\u306a\u3057\u306b\u3057\u3066\u304a\u304f\u3068\u4e0d\u5177\u5408\u304c\u304a\u3053\u308b\u5834\u5408\u304c\u3042\u308b\u3093\u3067\u3059\u3002\u4eca\u306e\u3046\u3061\u304b\u3089\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u5fc5\u305a\u9589\u3058\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u3044\u305f\u65b9\u304c\u7121\u96e3\u3067\u3057\u3087\u3046\u3002\u307e\u3042\u30a8\u30c1\u30b1\u30c3\u30c8\u307f\u305f\u3044\u306a\u3082\u3093\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3001\u8aad\u307f\u8fbc\u3093\u3067\u3001\u9589\u3058\u308b\u3068\u3044\u3046\u4e00\u9023\u306e\u57fa\u672c\u52d5\u4f5c\u3092\u5b66\u3093\u3060\u8a33\u3067\u3059\u3002\u305f\u3060\u3001\u3053\u308c\u3060\u3051\u3067\u306f\u3064\u307e\u3089\u306a\u3044\u306e\u3067\u3001\u5c11\u3057\u4f7f\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4eca\u5ea6\u306f\u3001\u4efb\u610f\u306ePDB\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3001\u305d\u306e\u4e2d\u306b\u4f55\u500b\u539f\u5b50\u304c\u5165\u3063\u3066\u3044\u308b\u306e\u304b\u6570\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u6539\u9020\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3068\u3001\u305d\u306e\u524d\u306bPDB file\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u5fa9\u7fd2\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002PDB file\u306b\u306f\u305d\u306e\u30bf\u30f3\u30d1\u30af\u8cea\u306e\u7531\u6765\u3067\u3042\u308b\u3068\u304b\u767a\u8868\u3055\u308c\u305f\u8ad6\u6587\u304c\u3069\u3053\u306b\u3042\u308b\u304b\u3068\u8a00\u3063\u305f\u60c5\u5831\u3068\u3001\u5168\u539f\u5b50\u306e\u5ea7\u6a19\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u539f\u5b50\u306e\u5ea7\u6a19\u60c5\u5831\u306f\u884c\u982d\u304cATOM\u304b\u3089\u59cb\u307e\u308b\u884c\u3068HETATM\u304b\u3089\u59cb\u307e\u308b\u884c\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002PDB file format\u306e\u8a73\u7d30\u306f<a href=\"http:\/\/www.wwpdb.org\/documentation\/file-format-content\/format33\/v3.3.html\" target=\"_blank\">\u3053\u3053<\/a>\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002\u4eca\u304b\u3089\u66f8\u3053\u3046\u3068\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001PDB file\u3092\u8aad\u307f\u8fbc\u3093\u3067ATOM\u884c\u3068HETATM\u884c\u306e\u6570\u3092\u6570\u3048\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>(countATOM.c)<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;stdio.h&gt;\r\n#include &lt;string.h&gt;\r\nint main(int argc, char *argv&#x5B;])\r\n{\r\n    FILE *fp; \/* a file pointer. *\/\r\n    char  line&#x5B;100]; \/* a string of an input file. *\/\r\n    int   N = 0; \/* the number of atoms. *\/\r\n    fp = fopen(argv&#x5B;1], &quot;r&quot;); \/* setting the file pointer. *\/\r\n    while (fgets(line, 100, fp) != NULL) { \/* fgets! *\/\r\n        if (strncmp(&quot;ATOM&quot;, line, 4) == 0 || strncmp(&quot;HETATM&quot;, line, 6) == 0) {\r\n            printf(&quot;%s&quot;, line); \/* showing the line. *\/\r\n            N++; \/* increment. *\/\r\n        }\r\n    }\r\n    fclose(fp); \/* closing the file pointer. *\/\r\n    printf(&quot;The total number of atoms in the given PDB file is %d.\\n&quot;, N);\r\n}\r\n<\/pre>\n<p>neco.c\u3068\u6bd4\u8f03\u3057\u3066countATOM.c\u306b\u8ffd\u52a0\u3055\u308c\u305f\u3068\u3053\u308d\u306f\uff17\u884c\u76ee\u3001\uff11\uff10\u884c\u76ee\u3001\uff11\uff12\u884c\u76ee\u3001\uff11\uff16\u884c\u76ee\u3067\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u3082\u3063\u3068\u3082\u91cd\u8981\u306a\u90e8\u5206\u306f\uff18\u884c\u76ee\u3067\u3059\u3002<\/p>\n<p>if (\u00d7\u00d7\u00d7) { .... } \u3068\u3044\u3046\u306e\u306f \u00d7\u00d7\u00d7\u304c\u771f\u306e\u3068\u304d { .... } \u3092\u884c\u3046\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002Python\u3068\u540c\u3058\u3067\u3059\u306d\u3002 \u00d7\u00d7\u00d7\u306e\u4e2d\u8eab\u306b\u306fstrncmp()\u3068\u3044\u3046\u95a2\u6570\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f<\/p>\n<pre>strncmp(\u201c\u6587\u5b57\u5217\uff11\u201d, \u201c\u6587\u5b57\u5217\uff12\u201d, \u201c\u6bd4\u8f03\u3059\u308b\u6587\u5b57\u6570\u201d)\r\n<\/pre>\n<p>\u3068\u3044\u3046\u69cb\u6587\u3067\u201c\u6587\u5b57\u5217\uff11\u201d\u3068\u201c\u6587\u5b57\u5217\uff12\u201d\u304c\u7b49\u3057\u3044\u304b\u5224\u65ad\u3057\u3066\u3001\u540c\u3058\u306a\u3089\uff10\u3092\u8fd4\u3057\u3001\u3061\u304c\u3046\u5834\u5408\u306b\u306f\uff10\u4ee5\u5916\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\uff18\u884c\u76ee\u306e\u3042\u305f\u308a\u306f\u300c\u3082\u3057\u3001\u884c\u306e\u982d\u304c\u201cATOM\u201d\u304b\u201cHETATM\u201d\u3060\u3063\u305f\u3089\u3001{ .... } \u3092\u3057\u306a\u3055\u3044\u306d\u300d\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>{ .... } \u306e\u4e2d\u3067\u500b\u6570\u3092\u6570\u3048\u308bint\u578b\u306e\u5909\u6570N\u304c\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3055\u308c\u3066\uff081\u304c\u8db3\u3055\u308c\u3066\uff09\u3001\uff11\uff15\u884c\u76ee\u3067\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u7df4\u7fd2\u554f\u984c<\/h2>\n<p>\u4eca\u5ea6\u306f\u30b3\u30de\u30f3\u30c9\u5f15\u6570\u306b\u300c\u30d5\u30a1\u30a4\u30eb\u540d\u300d\u3068\u300c\u63a2\u3057\u305f\u3044\u6587\u5b57\u5217\u300d\u3092\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306bneco.c\u3092\u6539\u9020\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306fLinux\u30b3\u30de\u30f3\u30c9grep\u306e\u3057\u3087\u307c\u3044\u7248\u3067\u3059\u3002(shobogrep.c)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u8aad\u307f\u8fbc\u307f\uff08written by Taku Nakahara\uff09 \u7686\u3055\u3093\u304c\u3053\u308c\u304b\u3089\u5352\u696d\u7814\u7a76\u3067\u66f8\u304f\u3067\u3042\u308d\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u306f [\u4f55\u3089\u304b\u306e\u5165\u529b\u30d5\u30a1\u30a4\u30eb] -&gt; \u3010\u30d7\u30ed\u30b0\u30e9\u30e0\u3011 -&gt; [\u4f55\u3089\u304b\u306e\u51fa\u529b] \u3068\u3044\u3046\u683c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":96,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"vkexunit_cta_each_option":"","footnotes":""},"class_list":["post-116","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=\/wp\/v2\/pages\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=116"}],"version-history":[{"count":6,"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=\/wp\/v2\/pages\/116\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=\/wp\/v2\/pages\/116\/revisions\/125"}],"up":[{"embeddable":true,"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=\/wp\/v2\/pages\/96"}],"wp:attachment":[{"href":"https:\/\/b-lab.nagahama-i-bio.ac.jp\/~m_shionyu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}