36. tar xzvf GTH.tar.gz; cd GTH; rename s/.fastq$/.fq/ *;
rename -f s/.m?fas?t?a?$/.fa/ *
bash on windowsの実行例です
Coreutils on macOS Sierraではrenameが無いようなのでbrewで入れてください
renameコマンドは環境により仕様が異なります
‐fオプションが無い場合(emihat/bioshellenv等)はつけるとエラーになります
Example Answer of #拡張子
51. join -a 1 -a 2 -o 0 1.2 2.2 -e '-'
exp_survivor.txt exp_walker.txt
Example Answer of #歩く屍
Coreutils on macOS Sierraでは –o 0,1.2,2.2 のようにコンマ区切りにしないとエラーになるようです
64. fridayThe13th.json
GGRNAを“thirteen” and “fri”で検索した結果をJSONで出力したファイルです
http://ggrna.dbcls.jp/hs/thirteen+fri.json
{"error":"none","results":[{"aa_position":[19],"accession":"NM_001303620","definition":"Homo sapiens deoxyribonuclease
1 like 1 (DNASE1L1), transcript variant 5,
mRNA.","division":"RefSeq","geneid":"1774","gi":"","length":"2649","nt_position":[],"snippet":"NP_001290549.1¥"
/db_xref=¥"CCDS:CCDS14747.1¥" /db_xref=¥"GeneID:1774¥" /db_xref=¥"HGNC:HGNC:2957¥" /db_xref=¥"MIM:300081¥"
/translation=¥"MHYPTALLFLILANGAQAFRICAFNAQRLTLAKVAREQVMDTLVRILARCDIMVLQEVVDSSGSAIPLLLRELNRFDGSGPYSTLSSPQLGRSTYMETYVYFYR
SHKTQVLSSYVYNDEDDVFAREPFVAQFSLPSNVLPSLVLVPLHTTPKAVEKELNALYDVFLEVSQH...R, Ciccodicola A, Chen CN, Zuo L, Heiner C,
Burough F, Repetto M, Schlessinger D and D'Urso M. TITLE Long-range sequence analysis in Xq28: thirteen known and six
candidate genes in 219.4 kb of high GC DNA between the RCP/GCP and G6PD loci JOURNAL Hum. Mol. Genet. 5 (5), 659-668
(1996) PUBMED...","source":"Homo sapiens (human)","symbol":"DNASE1L1","synonym":"DNAS1L1; DNASEX; DNL1L; G4.8;
XIB","version":"NM_001303620.1"},{"aa_position":[19],"accession":"NM_001009934","definition":"Homo sapiens
deoxyribonuclease 1 like 1 (DNASE1L1), transcript variant 4,
mRNA.","division":"RefSeq","geneid":"1774","gi":"","length":"2683","nt_position":[],"snippet":"NP_001009934.1¥"
/db_xref=¥"CCDS:CCDS14747.1¥" /db_xref=¥"GeneID:1774¥" /db_xref=¥"HGNC:HGNC:2957¥" /db_xref=¥"MIM:300081¥"
/translation=¥"MHYPTALLFLILANGAQAFRICAFNAQRLTLAKVAREQVMDTLVRILARCDIMVLQEVVDSSGSAIPLLLRELNRFDGSGPYSTLSSPQLGRSTYMETYVYFYR
SHKTQVLSSYVYNDEDDVFAREPFVAQFSLPSNVLPSLVLVPLHTTPKAVEKELNALYDVFLEVSQH...R, Ciccodicola A, Chen CN, Zuo L, Heiner C,
Burough F, Repetto M, Schlessinger D and D'Urso M. TITLE Long-range sequence analysis in Xq28: thirteen known and six
candidate genes in 219.4 kb of high GC DNA between the RCP/GCP and G6PD loci JOURNAL Hum. Mol. Genet. 5 (5), 659-668
(1996) PUBMED...","source":"Homo sapiens (human)","symbol":"DNASE1L1","synonym":"DNAS1L1; DNASEX; DNL1L; G4.8
~後略
75. 「This message will self-destruct in five seconds.」と
画面に出力した後、5秒後に画面からそのメッセージを
消してください
5秒後に消えます
#バイオシェル芸
#5秒後
76. echo 'This message will self-destruct in five
seconds.'; sleep 5; clear; history -c
Example Answer of #5秒後に消えます
history -cでコマンド履歴が全部消えますので消したくない方はclearで止めてください