Version 2 (modified by jazz, 13 years ago) (diff) |
---|
實作十 Lab10
~$ wget http://nchc.dl.sourceforge.net/project/cloudburst-bio/cloudburst/CloudBurst-1.1.0/CloudBurst-1.1.0.tgz ~$ tar zxvf CloudBurst-1.1.0.tgz ~$ cd CloudBurst-1.1.0 ~/CloudBurst-1.1.0$ wget "http://nchc.dl.sourceforge.net/project/cloudburst-bio/cloudburst-data/CloudBurst-sample-data/CloudBurst-small-sample.tgz" ~/CloudBurst-1.1.0$ tar zxvf CloudBurst-small-sample.tgz ~/CloudBurst-1.1.0$ hadoop fs -mkdir cloudburst ~/CloudBurst-1.1.0$ hadoop fs -put CloudBurst-small-sample/100k.br cloudburst/ ~/CloudBurst-1.1.0$ hadoop fs -put CloudBurst-small-sample/s_suis.br cloudburst/ ~/CloudBurst-1.1.0$ hadoop fs -lsr - jazz supergroup 0 2010-04-30 10:55 /user/jazz/cloudburst 2 jazz supergroup 4493593 2010-04-30 10:55 /user/jazz/cloudburst/100k.br 2 jazz supergroup 579773 2010-04-30 10:55 /user/jazz/cloudburst/s_suis.br ~/CloudBurst-1.0.1$ 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 ~/CloudBurst-1.0.1$ tail -n 1 cloudburst.err g time: 102.68 ~/CloudBurst-1.0.1$ hadoop fs -get results . ~/CloudBurst-1.0.1$ java -jar PrintAlignments.jar results | sort -nk4 > 100k.3.txt Printing results