![]() |
Helloやアメリカ合衆国へようこそ! UNIXおよびLinuxフォーラム!訪問し、当社のグローバルコミュニティに参加いただきありがとうございます。
|
|
Googleのunix.com
|
|||||||
| シェルプログラミングとスクリプティング KSH 、 CSH 、 shに、 bashの、はPerl 、 PHPは、削除するsed 、 Awkの、他のシェルスクリプトやシェルスクリプト言語についての質問の投稿はこちら。 |
その他のUNIXおよびLinuxフォーラムトピックは参考にすること
|
||||
| スレッド | スレッドスターター | フォーラム | 返信 | 最後の投稿 |
| ドメインは、スクリプトからの解決 | セルジュのIT | IPネットワーク | 6 | 2008年4月11日 06:52午前 |
| 数多くのビデオをウェブKudda成功のためのダウンロードの問題を解決している | angelstar | UNIXおよびLinuxアプリケーション | 0 | 2008年4月10日 06:41午前 |
| Xdmcpは、 DNS 、ある解決放送を超える | kymberm | IPネットワーク | 3 | 2003年2月25日 10:47午後 |
![]() |
|
|
LinkBack | スレッドツール | このスレッドを検索 | スレッドを評価 | 表示モード |
|
|
|
||||
|
awkは、これを削除するsedで解決されてですか?
こんにちはマスターズ、
コード:
___________________________________________________________________________________
Group of orthologs #1. Best score 3010 bits
Score difference with first non-orthologous sequence - yeast:3010 human:2754
YHR165C 100.00% PRP8_HUMAN 100.00%
___________________________________________________________________________________
Group of orthologs #2. Best score 2100 bits
Score difference with first non-orthologous sequence - yeast:2033 human:1978
YLR106C 100.00% MDN1_HUMAN 100.00%
___________________________________________________________________________________
Group of orthologs #3. Best score 2082 bits
Score difference with first non-orthologous sequence - yeast:997 human:593
YJL130C 100.00% PYR1_HUMAN 100.00%
___________________________________________________________________________________
Group of orthologs #4. Best score 1959 bits
Score difference with first non-orthologous sequence - yeast:1959 human:1007
YKR054C 100.00% DYHC_HUMAN 100.00%
___________________________________________________________________________________
Group of orthologs #5. Best score 1855 bits
Score difference with first non-orthologous sequence - yeast:1855 human:1022
YNR016C 100.00% Q6KE87_HUMAN 100.00%
YMR207C 19.86% COA2_HUMAN 90.52%
COA1_HUMAN 53.30%
___________________________________________________________________________________
Group of orthologs #6. Best score 1838 bits
Score difference with first non-orthologous sequence - yeast:1748 human:1767
YDL140C 100.00% RPB1_HUMAN 100.00%
___________________________________________________________________________________
Group of orthologs #7. Best score 1768 bits
Score difference with first non-orthologous sequence - yeast:1768 human:1636
YJR066W 100.00% Q4LE76_HUMAN 100.00%
YKL203C 49.22%
Group_number ; Best_Score ; S_one ; P_one ; S_two ; P_two 5 ; 1855 ; YNR016C ; 100.00 % ; Q6KE87_HUMAN ; 100.00 % 5 ; 1855 ; YMR207C ; 19.86 % ; COA2_HUMAN ; 90.52パーセント 5 ; 1855 ; ; ; COA1_HUMAN ; 53.30パーセント 7 ; 1768 ; YJR066W ; 100.00 % ; Q4LE76_HUMAN ; 100.00 % 7 ; 1768 ; YKL203C ; 49 % ; ; 事前に感謝します! 編集Perderaboで最終; 2005年11月8日に 11:41午前..理由:コードを読みやすくするためのタグとを無効に顔を追加 |
|
||||
|
コマンド行でHeres のPERL:
$ perlの チョップ'北東;分割; >もし( $ _ [ 0 ]式"グループ" ) > ( $グループ\u003d substr ( $ _ [ 3 ] 、 1 、長さ( $ _ [ 3 ] ) -2 ) ; $スコア\u003d $ _ [ 6 ] ; ) >他の( >もし( $ _ ! 〜 / ^ \秒*$/&&$_[ 0 ]北東"スコア" ) > (場合(@_\u003d\u003d 2 ) ( (@_,"","");}プッシュ >もし(@_\u003d\u003d 3 ) (シフトキーを戻す(@_,"");} > $の文字列に加わる\u003d (";",@_); >印刷( " \グループ$ Ñ ; $スコア; $ ");}}'ファイル名の文字列 聖母被昇天祭(秒) : あなたのレコードが最大で唯一の4つの要素を持つことができます。 つまり、 記録/空白の記録/空白の記録/空白の記録/空白 もし、これらのタブを区切られているかどうか教えてもらえます、私は、より堅牢なコードを使用することができます。 |