| 1 | [[PageOutline]] |
| 2 | |
| 3 | ◢ <[wiki:YMU110509/Lab9 實作九]> | <[wiki:YMU110509 回課程大綱]> ▲ | ◣ |
| 4 | |
| 5 | = 實作十 Lab10 = |
| 6 | |
| 7 | {{{ |
| 8 | #!html |
| 9 | <div style="text-align: center;"><big style="font-weight: bold;"><big><br/></big></big></div> |
| 10 | }}} |
| 11 | |
| 12 | {{{ |
| 13 | jazz@hadoop:~$ wget http://nchc.dl.sourceforge.net/project/cloudburst-bio/cloudburst/CloudBurst-1.1.0/CloudBurst-1.1.0.tgz |
| 14 | jazz@hadoop:~$ tar zxvf CloudBurst-1.1.0.tgz |
| 15 | jazz@hadoop:~$ cd CloudBurst-1.1.0 |
| 16 | jazz@hadoop:~/CloudBurst-1.1.0$ wget "http://nchc.dl.sourceforge.net/project/cloudburst-bio/cloudburst-data/CloudBurst-sample-data/CloudBurst-small-sample.tgz" |
| 17 | jazz@hadoop:~/CloudBurst-1.1.0$ tar zxvf CloudBurst-small-sample.tgz |
| 18 | jazz@hadoop:~/CloudBurst-1.1.0$ hadoop fs -mkdir cloudburst |
| 19 | jazz@hadoop:~/CloudBurst-1.1.0$ hadoop fs -put CloudBurst-small-sample/100k.br cloudburst/ |
| 20 | jazz@hadoop:~/CloudBurst-1.1.0$ hadoop fs -put CloudBurst-small-sample/s_suis.br cloudburst/ |
| 21 | jazz@hadoop:~/CloudBurst-1.1.0$ hadoop fs -lsr |
| 22 | drwxr-xr-x - jazz supergroup 0 2010-04-30 10:55 /user/jazz/cloudburst |
| 23 | -rw-r--r-- 2 jazz supergroup 4493593 2010-04-30 10:55 /user/jazz/cloudburst/100k.br |
| 24 | -rw-r--r-- 2 jazz supergroup 579773 2010-04-30 10:55 /user/jazz/cloudburst/s_suis.br |
| 25 | jazz@hadoop:~/CloudBurst-1.1.0$ hadoop jar CloudBurst.jar /user/$(whoami)/cloudburst/s_suis.br /user/$(whoami)/cloudburst/100k.br results 36 3 0 1 240 48 24 24 128 16 2 >& cloudburst.err |
| 26 | jazz@hadoop:~/CloudBurst-1.0$ tail -n 1 cloudburst.err |
| 27 | Total Running time: 102.68 |
| 28 | jazz@hadoop:~/CloudBurst-1.1.0$ hadoop fs -get results . |
| 29 | jazz@hadoop:~/CloudBurst-1.1.0$ java -jar PrintAlignments.jar results | sort -nk4 > 100k.3.txt |
| 30 | Printing results |
| 31 | }}} |