SlideShare a Scribd company logo
1 of 34
•
•
•
•
•
    •
    •
•
    •
•
•
    •
•
•
    •
    •
•
    •
•
    •
•
•
    •
    •
agcaaaagaa
•
    •
•
    •
•
    •
    •
•
    •
    •

    •
•
    •
•
    •
•
    •
•
    •
$ rm -r arg1 arg2
-u




     Date   DATE
✴
     ✴
     ✴
         ✴$   man man
 ✴
     ✴
     ✴
     ✴




$ man date
•
•
  •
  •
•
  •

                                                       /
             C:

                                          usr              Volume
WINDOWS             Program Files


                                    bin          lib       cdrom
    system

                       CD-ROM
             D:
                                                            pics
                                                CD-ROM
             pics
•
  •
  •
  •
•
  •
  •
      •
                            /


                usr             Volume    /


          bin         lib       cdrom    pics
•
  •
  •   $ pwd
•
  •
•
  •
•
  •
  •       ~   $HOME
  •
      •
•   /usr/lib
              /
                                •
                                •
                            •   usr/lib
      usr         Users
                                •
                                •                      /
                                •                     /Users/sesejun
bin         lib   sesejun


                            •
                    usr
                                •       /Users/sesejun/
                                •   .
                                    • .   /Users/sesejun
                    lib
                                    • ./usr/lib
                                •   ..
                                    • ..   /Users
                                    • ../../usr/lib
• cd   destination-dir

 • destination-dir
  •                                       cd ..
   jsmbp:~ sesejun$ pwd
   /Users/sesejun
   jsmbp:~ sesejun$ cd /usr/
   jsmbp:/usr sesejun$ pwd
   /usr
   jsmbp:/usr sesejun$ cd lib
   jsmbp:/usr/lib sesejun$ pwd
   /usr/lib
   jsmbp:/usr/lib sesejun$ cd /usr/bin/
   jsmbp:/usr/bin sesejun$ pwd
   /usr/bin
   jsmbp:/usr/bin sesejun$ cd
   jsmbp:~ sesejun$ pwd
   /Users/sesejun
   jsmbp:~ sesejun$
•
•
•
•
    •   -a:

    •   -F:
    •   -l:

        sesembp:~ sesejun$ ls
        Desktop                 Music                 test
        Documents
        Pictures                ??????????????????
        Library                 Public
        Movies                  Sites
        sesembp:~ sesejun$ ls -F
        Desktop/                Music/                test/
        Documents/
        Pictures/               ??????????????????@
        Library/                Public/
        Movies/                 Sites/
•
    • mkdir [options]    directory ...
      • MaKe DIRectory
    • test                        $ mkdir test
•
    •   rmdir [options] directory ...
    •
    •   test
                                  $ rmdir test
•   cp [options] source-file ... directory
•   cp [options] source-file new-file
•
    • -i:
    • -r:
•   text1.txt    text2.txt
        jsmbp:~ sesejun$ cp text1.txt text2.txt

•   text1.txt    text2.txt    tmp


        jsmbp:~ sesejun$ mkdir tmp
        jsmbp:~ sesejun$ ls tmp
        jsmbp:~ sesejun$ cp text1.txt text2.txt tmp/
        jsmbp:~ sesejun$ ls tmp
        text1.txt       text2.txt
•   mv [options] source-file ... directory
•   mv [options] old-path new-path
•   text1.txt text2.txt
           jsmbp:~ sesejun$ mv text1.txt text2.txt

•   text1.txt      text2.txt   tmp


    jsmbp:~/test   sesejun$ ls
    text1.txt         text2.txt
    jsmbp:~/test   sesejun$ mkdir tmp
    jsmbp:~/test   sesejun$ mv text1.txt text2.txt tmp/
    jsmbp:~/test   sesejun$ ls
    tmp
    jsmbp:~/test   sesejun$ ls tmp/
    text1.txt         text2.txt
•   rm [options] file ...
•
    • -r:
    • -i:
•   text1.txt   text2.txt
          jsmbp:~ sesejun$ rm text1.txt text2.txt


•   tmp
          jsmbp:~/test   sesejun$ ls
          tmp
          jsmbp:~/test   sesejun$ ls tmp/
          text1.txt         text2.txt
          jsmbp:~/test   sesejun$ rm -r tmp/
          jsmbp:~/test   sesejun$ ls
          jsmbp:~/test   sesejun$

•
•
    •
        •            /Users/yourname
    •   Terminal
    •   mkdir work

    •   ls
    •   mkdir work/blast
    •   cd work/blast
        •

•
    •
    •
    •
•
•
    •
•
•
•
•
•
    •
    •
        •
•
            •
        •
            •
            jsmbp:~ sesejun$ sudo port -d install lftp
            (
            (
            jsmbp:~ sesejun$ which lftp
            /opt/local/bin/lftp

•
    •
    •

    •
•
     •
     •
 •
     •
     •
jsmbp:~ sesejun$ cd work/blast
jsmbp:~/work/blast sesejun$ lftp ftp.ncbi.nih.gov
lftp> cd blast/executables/release/2.2.16
lftp> mget blast-2.2.16-universal-macosx.tar.gz
(          )
lftp> quit
jsmbp:~/work/blast sesejun$ tar zxvf blast-2.2.16-universal-
macosx.tar.gz
(        )
jsmbp:~/work/blast sesejun$ lftp ftp.ncbi.nih.gov
        lftp> cd blast/db/FASTA
        lftp> ls
        (
        lftp> mget yeast.nt.gz
        (          )
        lftp> quit
        jsmbp:~/work/blast sesejun$ gzip -d yeast.nt.gz

•
    •
        •

    •
    •
    •
    •
•
    •
    •
•
    •
        •
jsmbp:~/work/blast sesejun$ mv ~/Desktop/myseq.fasta .
•
     •
     •
     •
         •
jsmbp:~/work/blast sesejun$ ls
(          )
jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/formatdb -i yeast.nt
-p F -o T
jsmbp:~/work/blast sesejun$ ls
(8
                                          )
jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/formatdb -i yeast.nt
-p F -o T (                         )
jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/formatdb -i yeast.nt
-p T -o T (                            )
jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/formatdb --help (
             )
•
     •
 •
     •
 •
jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/blastall -p blastn -d
yeast.nt -i myseq.fasta
(blastn               )
jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/blastall -p blastn -d
yeast.nt -i myseq.fasta -o myseq.out
(blastn                         myseq.out     )
jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/blastall -p tblastx -
d yeast.nt -i myseq.fasta
(tblastx               )
BLASTN 2.2.16 [Mar-25-2007]

                                                                 Score    E
Sequences producing significant alignments:                      (bits) Value

1
ref|NC_001142.1| Saccharomyces cerevisiae chromosome X, complete...   698   0.0
ref|NC_001145.1| Saccharomyces cerevisiae chromosome XIII, compl...    34   0.32

2
ref|NC_001136.2| Saccharomyces cerevisiae chromosome IV, complet...    32   1.3




>ref|NC_001142.1| Saccharomyces cerevisiae chromosome X, complete chromosome sequence
 1        Length = 745440

 Score = 698 bits (352), Expect = 0.0
 Identities = 361/364 (99%)
 Strand = Plus / Plus

Query: 177    tactcatcacgcgggcttaccgcaatggtctaatagcatggctagtcaccattttcccaa 236
              ||||||||||||||||||||||||| ||||||||||||||||||||||||||||||||||
Sbjct: 545951 tactcatcacgcgggcttaccgcaaaggtctaatagcatggctagtcaccattttcccaa 546010


>ref|NC_001145.1| Saccharomyces cerevisiae chromosome XIII, complete chromosome sequence
          Length = 924430
 2 = 34.2 bits (17), Expect = 0.32
 Score
 Identities = 17/17 (100%)
 Strand = Plus / Minus

More Related Content

Viewers also liked

Datamining r 2nd
Datamining r 2ndDatamining r 2nd
Datamining r 2ndsesejun
 
Datamining 5th knn
Datamining 5th knnDatamining 5th knn
Datamining 5th knnsesejun
 
Datamining 3rd Naivebayes
Datamining 3rd NaivebayesDatamining 3rd Naivebayes
Datamining 3rd Naivebayessesejun
 
Datamining 9th Association Rule
Datamining 9th Association RuleDatamining 9th Association Rule
Datamining 9th Association Rulesesejun
 
Ohp Seijoen H20 02 Hensu To Kata
Ohp Seijoen H20 02 Hensu To KataOhp Seijoen H20 02 Hensu To Kata
Ohp Seijoen H20 02 Hensu To Katasesejun
 
bioinfolec_5th_20070713
bioinfolec_5th_20070713bioinfolec_5th_20070713
bioinfolec_5th_20070713sesejun
 
Datamining 5th Knn
Datamining 5th KnnDatamining 5th Knn
Datamining 5th Knnsesejun
 
bioinfo_6th_20070720
bioinfo_6th_20070720bioinfo_6th_20070720
bioinfo_6th_20070720sesejun
 
bioinfolec_20070706 4th
bioinfolec_20070706 4thbioinfolec_20070706 4th
bioinfolec_20070706 4thsesejun
 
Datamining 2nd decisiontree
Datamining 2nd decisiontreeDatamining 2nd decisiontree
Datamining 2nd decisiontreesesejun
 
Datamining r 3rd
Datamining r 3rdDatamining r 3rd
Datamining r 3rdsesejun
 
20110602labseminar pub
20110602labseminar pub20110602labseminar pub
20110602labseminar pubsesejun
 
Ohp Seijoen H20 04 Method
Ohp Seijoen H20 04 MethodOhp Seijoen H20 04 Method
Ohp Seijoen H20 04 Methodsesejun
 
次世代シーケンサが求める機械学習
次世代シーケンサが求める機械学習次世代シーケンサが求める機械学習
次世代シーケンサが求める機械学習sesejun
 
RNAseqによる変動遺伝子抽出の統計: A Review
RNAseqによる変動遺伝子抽出の統計: A ReviewRNAseqによる変動遺伝子抽出の統計: A Review
RNAseqによる変動遺伝子抽出の統計: A Reviewsesejun
 
バイオインフォマティクスによる遺伝子発現解析
バイオインフォマティクスによる遺伝子発現解析バイオインフォマティクスによる遺伝子発現解析
バイオインフォマティクスによる遺伝子発現解析sesejun
 

Viewers also liked (18)

Datamining r 2nd
Datamining r 2ndDatamining r 2nd
Datamining r 2nd
 
Datamining 5th knn
Datamining 5th knnDatamining 5th knn
Datamining 5th knn
 
Datamining 3rd Naivebayes
Datamining 3rd NaivebayesDatamining 3rd Naivebayes
Datamining 3rd Naivebayes
 
Datamining 9th Association Rule
Datamining 9th Association RuleDatamining 9th Association Rule
Datamining 9th Association Rule
 
Ohp Seijoen H20 02 Hensu To Kata
Ohp Seijoen H20 02 Hensu To KataOhp Seijoen H20 02 Hensu To Kata
Ohp Seijoen H20 02 Hensu To Kata
 
bioinfolec_5th_20070713
bioinfolec_5th_20070713bioinfolec_5th_20070713
bioinfolec_5th_20070713
 
Datamining 5th Knn
Datamining 5th KnnDatamining 5th Knn
Datamining 5th Knn
 
080806
080806080806
080806
 
bioinfo_6th_20070720
bioinfo_6th_20070720bioinfo_6th_20070720
bioinfo_6th_20070720
 
bioinfolec_20070706 4th
bioinfolec_20070706 4thbioinfolec_20070706 4th
bioinfolec_20070706 4th
 
Datamining 2nd decisiontree
Datamining 2nd decisiontreeDatamining 2nd decisiontree
Datamining 2nd decisiontree
 
Datamining r 3rd
Datamining r 3rdDatamining r 3rd
Datamining r 3rd
 
20110602labseminar pub
20110602labseminar pub20110602labseminar pub
20110602labseminar pub
 
Ohp Seijoen H20 04 Method
Ohp Seijoen H20 04 MethodOhp Seijoen H20 04 Method
Ohp Seijoen H20 04 Method
 
080806
080806080806
080806
 
次世代シーケンサが求める機械学習
次世代シーケンサが求める機械学習次世代シーケンサが求める機械学習
次世代シーケンサが求める機械学習
 
RNAseqによる変動遺伝子抽出の統計: A Review
RNAseqによる変動遺伝子抽出の統計: A ReviewRNAseqによる変動遺伝子抽出の統計: A Review
RNAseqによる変動遺伝子抽出の統計: A Review
 
バイオインフォマティクスによる遺伝子発現解析
バイオインフォマティクスによる遺伝子発現解析バイオインフォマティクスによる遺伝子発現解析
バイオインフォマティクスによる遺伝子発現解析
 

Similar to bioinfolec_2nd_20070622

Упаковка и развертывание программ на perl под debian‎
Упаковка и развертывание программ на perl под debian‎Упаковка и развертывание программ на perl под debian‎
Упаковка и развертывание программ на perl под debian‎mayperl
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Series Ove...
PostgreSQL Portland Performance Practice Project - Database Test 2 Series Ove...PostgreSQL Portland Performance Practice Project - Database Test 2 Series Ove...
PostgreSQL Portland Performance Practice Project - Database Test 2 Series Ove...Mark Wong
 
Writing Modular Command-line Apps with App::Cmd
Writing Modular Command-line Apps with App::CmdWriting Modular Command-line Apps with App::Cmd
Writing Modular Command-line Apps with App::CmdRicardo Signes
 
Paver For PyWorks 2008
Paver For PyWorks 2008Paver For PyWorks 2008
Paver For PyWorks 2008Kevin Dangoor
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...Mark Wong
 
Yapc::NA::2009 - Command Line Perl
Yapc::NA::2009 - Command Line PerlYapc::NA::2009 - Command Line Perl
Yapc::NA::2009 - Command Line PerlBruce Gray
 
High Availability With DRBD & Heartbeat
High Availability With DRBD & HeartbeatHigh Availability With DRBD & Heartbeat
High Availability With DRBD & HeartbeatChris Barber
 
Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL John Anderson
 
LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1umapst
 
Apache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteApache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteAllen Wittenauer
 
Hacking with ruby2ruby
Hacking with ruby2rubyHacking with ruby2ruby
Hacking with ruby2rubyMarc Chung
 

Similar to bioinfolec_2nd_20070622 (20)

Unix tips and tricks
Unix tips and tricksUnix tips and tricks
Unix tips and tricks
 
Упаковка и развертывание программ на perl под debian‎
Упаковка и развертывание программ на perl под debian‎Упаковка и развертывание программ на perl под debian‎
Упаковка и развертывание программ на perl под debian‎
 
EC2
EC2EC2
EC2
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Series Ove...
PostgreSQL Portland Performance Practice Project - Database Test 2 Series Ove...PostgreSQL Portland Performance Practice Project - Database Test 2 Series Ove...
PostgreSQL Portland Performance Practice Project - Database Test 2 Series Ove...
 
Writing Modular Command-line Apps with App::Cmd
Writing Modular Command-line Apps with App::CmdWriting Modular Command-line Apps with App::Cmd
Writing Modular Command-line Apps with App::Cmd
 
Paver For PyWorks 2008
Paver For PyWorks 2008Paver For PyWorks 2008
Paver For PyWorks 2008
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
 
XS Japan 2008 Xen Mgmt Japanese
XS Japan 2008 Xen Mgmt JapaneseXS Japan 2008 Xen Mgmt Japanese
XS Japan 2008 Xen Mgmt Japanese
 
Yapc::NA::2009 - Command Line Perl
Yapc::NA::2009 - Command Line PerlYapc::NA::2009 - Command Line Perl
Yapc::NA::2009 - Command Line Perl
 
High Availability With DRBD & Heartbeat
High Availability With DRBD & HeartbeatHigh Availability With DRBD & Heartbeat
High Availability With DRBD & Heartbeat
 
Backups
BackupsBackups
Backups
 
Paexec -- distributed tasks over network or cpus
Paexec -- distributed tasks over network or cpusPaexec -- distributed tasks over network or cpus
Paexec -- distributed tasks over network or cpus
 
Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL
 
Vim Hacks
Vim HacksVim Hacks
Vim Hacks
 
Vim Hacks
Vim HacksVim Hacks
Vim Hacks
 
GenomeBrowser
GenomeBrowserGenomeBrowser
GenomeBrowser
 
LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1
 
Apache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteApache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
 
Laravel Day / Deploy
Laravel Day / DeployLaravel Day / Deploy
Laravel Day / Deploy
 
Hacking with ruby2ruby
Hacking with ruby2rubyHacking with ruby2ruby
Hacking with ruby2ruby
 

More from sesejun

20110524zurichngs 2nd pub
20110524zurichngs 2nd pub20110524zurichngs 2nd pub
20110524zurichngs 2nd pubsesejun
 
20110524zurichngs 1st pub
20110524zurichngs 1st pub20110524zurichngs 1st pub
20110524zurichngs 1st pubsesejun
 
20110214nips2010 read
20110214nips2010 read20110214nips2010 read
20110214nips2010 readsesejun
 
Datamining 9th association_rule.key
Datamining 9th association_rule.keyDatamining 9th association_rule.key
Datamining 9th association_rule.keysesejun
 
Datamining 8th hclustering
Datamining 8th hclusteringDatamining 8th hclustering
Datamining 8th hclusteringsesejun
 
Datamining r 4th
Datamining r 4thDatamining r 4th
Datamining r 4thsesejun
 
Datamining r 1st
Datamining r 1stDatamining r 1st
Datamining r 1stsesejun
 
Datamining 6th svm
Datamining 6th svmDatamining 6th svm
Datamining 6th svmsesejun
 
Datamining 4th adaboost
Datamining 4th adaboostDatamining 4th adaboost
Datamining 4th adaboostsesejun
 
Datamining 3rd naivebayes
Datamining 3rd naivebayesDatamining 3rd naivebayes
Datamining 3rd naivebayessesejun
 
Datamining 7th kmeans
Datamining 7th kmeansDatamining 7th kmeans
Datamining 7th kmeanssesejun
 
100401 Bioinfoinfra
100401 Bioinfoinfra100401 Bioinfoinfra
100401 Bioinfoinfrasesejun
 
Datamining 8th Hclustering
Datamining 8th HclusteringDatamining 8th Hclustering
Datamining 8th Hclusteringsesejun
 
Datamining 9th Association Rule
Datamining 9th Association RuleDatamining 9th Association Rule
Datamining 9th Association Rulesesejun
 
Datamining 8th Hclustering
Datamining 8th HclusteringDatamining 8th Hclustering
Datamining 8th Hclusteringsesejun
 
Datamining 7th Kmeans
Datamining 7th KmeansDatamining 7th Kmeans
Datamining 7th Kmeanssesejun
 
Datamining R 4th
Datamining R 4thDatamining R 4th
Datamining R 4thsesejun
 
Datamining 6th Svm
Datamining 6th SvmDatamining 6th Svm
Datamining 6th Svmsesejun
 
Datamining 4th Adaboost
Datamining 4th AdaboostDatamining 4th Adaboost
Datamining 4th Adaboostsesejun
 

More from sesejun (19)

20110524zurichngs 2nd pub
20110524zurichngs 2nd pub20110524zurichngs 2nd pub
20110524zurichngs 2nd pub
 
20110524zurichngs 1st pub
20110524zurichngs 1st pub20110524zurichngs 1st pub
20110524zurichngs 1st pub
 
20110214nips2010 read
20110214nips2010 read20110214nips2010 read
20110214nips2010 read
 
Datamining 9th association_rule.key
Datamining 9th association_rule.keyDatamining 9th association_rule.key
Datamining 9th association_rule.key
 
Datamining 8th hclustering
Datamining 8th hclusteringDatamining 8th hclustering
Datamining 8th hclustering
 
Datamining r 4th
Datamining r 4thDatamining r 4th
Datamining r 4th
 
Datamining r 1st
Datamining r 1stDatamining r 1st
Datamining r 1st
 
Datamining 6th svm
Datamining 6th svmDatamining 6th svm
Datamining 6th svm
 
Datamining 4th adaboost
Datamining 4th adaboostDatamining 4th adaboost
Datamining 4th adaboost
 
Datamining 3rd naivebayes
Datamining 3rd naivebayesDatamining 3rd naivebayes
Datamining 3rd naivebayes
 
Datamining 7th kmeans
Datamining 7th kmeansDatamining 7th kmeans
Datamining 7th kmeans
 
100401 Bioinfoinfra
100401 Bioinfoinfra100401 Bioinfoinfra
100401 Bioinfoinfra
 
Datamining 8th Hclustering
Datamining 8th HclusteringDatamining 8th Hclustering
Datamining 8th Hclustering
 
Datamining 9th Association Rule
Datamining 9th Association RuleDatamining 9th Association Rule
Datamining 9th Association Rule
 
Datamining 8th Hclustering
Datamining 8th HclusteringDatamining 8th Hclustering
Datamining 8th Hclustering
 
Datamining 7th Kmeans
Datamining 7th KmeansDatamining 7th Kmeans
Datamining 7th Kmeans
 
Datamining R 4th
Datamining R 4thDatamining R 4th
Datamining R 4th
 
Datamining 6th Svm
Datamining 6th SvmDatamining 6th Svm
Datamining 6th Svm
 
Datamining 4th Adaboost
Datamining 4th AdaboostDatamining 4th Adaboost
Datamining 4th Adaboost
 

bioinfolec_2nd_20070622

  • 2. • • • •
  • 3. • • • •
  • 4. • • • • • • • • • • • •
  • 6.
  • 7. • • • • • •
  • 8. • • • • • • • • • • •
  • 9. $ rm -r arg1 arg2
  • 10. -u Date DATE
  • 11. ✴ ✴ ✴$ man man ✴ ✴ ✴ ✴ $ man date
  • 12. • • • • • • / C: usr Volume WINDOWS Program Files bin lib cdrom system CD-ROM D: pics CD-ROM pics
  • 13. • • • • • • • • / usr Volume / bin lib cdrom pics
  • 14. • • • $ pwd • • • • • • • ~ $HOME • •
  • 15. /usr/lib / • • • usr/lib usr Users • • / • /Users/sesejun bin lib sesejun • usr • /Users/sesejun/ • . • . /Users/sesejun lib • ./usr/lib • .. • .. /Users • ../../usr/lib
  • 16. • cd destination-dir • destination-dir • cd .. jsmbp:~ sesejun$ pwd /Users/sesejun jsmbp:~ sesejun$ cd /usr/ jsmbp:/usr sesejun$ pwd /usr jsmbp:/usr sesejun$ cd lib jsmbp:/usr/lib sesejun$ pwd /usr/lib jsmbp:/usr/lib sesejun$ cd /usr/bin/ jsmbp:/usr/bin sesejun$ pwd /usr/bin jsmbp:/usr/bin sesejun$ cd jsmbp:~ sesejun$ pwd /Users/sesejun jsmbp:~ sesejun$
  • 17. • • • • • -a: • -F: • -l: sesembp:~ sesejun$ ls Desktop Music test Documents Pictures ?????????????????? Library Public Movies Sites sesembp:~ sesejun$ ls -F Desktop/ Music/ test/ Documents/ Pictures/ ??????????????????@ Library/ Public/ Movies/ Sites/
  • 18.
  • 19. • mkdir [options] directory ... • MaKe DIRectory • test $ mkdir test • • rmdir [options] directory ... • • test $ rmdir test
  • 20. cp [options] source-file ... directory • cp [options] source-file new-file • • -i: • -r: • text1.txt text2.txt jsmbp:~ sesejun$ cp text1.txt text2.txt • text1.txt text2.txt tmp jsmbp:~ sesejun$ mkdir tmp jsmbp:~ sesejun$ ls tmp jsmbp:~ sesejun$ cp text1.txt text2.txt tmp/ jsmbp:~ sesejun$ ls tmp text1.txt text2.txt
  • 21. mv [options] source-file ... directory • mv [options] old-path new-path • text1.txt text2.txt jsmbp:~ sesejun$ mv text1.txt text2.txt • text1.txt text2.txt tmp jsmbp:~/test sesejun$ ls text1.txt text2.txt jsmbp:~/test sesejun$ mkdir tmp jsmbp:~/test sesejun$ mv text1.txt text2.txt tmp/ jsmbp:~/test sesejun$ ls tmp jsmbp:~/test sesejun$ ls tmp/ text1.txt text2.txt
  • 22. rm [options] file ... • • -r: • -i: • text1.txt text2.txt jsmbp:~ sesejun$ rm text1.txt text2.txt • tmp jsmbp:~/test sesejun$ ls tmp jsmbp:~/test sesejun$ ls tmp/ text1.txt text2.txt jsmbp:~/test sesejun$ rm -r tmp/ jsmbp:~/test sesejun$ ls jsmbp:~/test sesejun$ •
  • 23. • • /Users/yourname • Terminal • mkdir work • ls • mkdir work/blast • cd work/blast • • • • •
  • 24.
  • 25. • • • • •
  • 26. • • • • • •
  • 27. • • • jsmbp:~ sesejun$ sudo port -d install lftp ( ( jsmbp:~ sesejun$ which lftp /opt/local/bin/lftp • • • •
  • 28. • • • • • jsmbp:~ sesejun$ cd work/blast jsmbp:~/work/blast sesejun$ lftp ftp.ncbi.nih.gov lftp> cd blast/executables/release/2.2.16 lftp> mget blast-2.2.16-universal-macosx.tar.gz ( ) lftp> quit jsmbp:~/work/blast sesejun$ tar zxvf blast-2.2.16-universal- macosx.tar.gz ( )
  • 29. jsmbp:~/work/blast sesejun$ lftp ftp.ncbi.nih.gov lftp> cd blast/db/FASTA lftp> ls ( lftp> mget yeast.nt.gz ( ) lftp> quit jsmbp:~/work/blast sesejun$ gzip -d yeast.nt.gz • • • • • • •
  • 30. • • • • • jsmbp:~/work/blast sesejun$ mv ~/Desktop/myseq.fasta .
  • 31. • • • • jsmbp:~/work/blast sesejun$ ls ( ) jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/formatdb -i yeast.nt -p F -o T jsmbp:~/work/blast sesejun$ ls (8 )
  • 32. jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/formatdb -i yeast.nt -p F -o T ( ) jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/formatdb -i yeast.nt -p T -o T ( ) jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/formatdb --help ( )
  • 33. • • • • jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/blastall -p blastn -d yeast.nt -i myseq.fasta (blastn ) jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/blastall -p blastn -d yeast.nt -i myseq.fasta -o myseq.out (blastn myseq.out ) jsmbp:~/work/blast sesejun$ ./blast-2.2.16/bin/blastall -p tblastx - d yeast.nt -i myseq.fasta (tblastx )
  • 34. BLASTN 2.2.16 [Mar-25-2007] Score E Sequences producing significant alignments: (bits) Value 1 ref|NC_001142.1| Saccharomyces cerevisiae chromosome X, complete... 698 0.0 ref|NC_001145.1| Saccharomyces cerevisiae chromosome XIII, compl... 34 0.32 2 ref|NC_001136.2| Saccharomyces cerevisiae chromosome IV, complet... 32 1.3 >ref|NC_001142.1| Saccharomyces cerevisiae chromosome X, complete chromosome sequence 1 Length = 745440 Score = 698 bits (352), Expect = 0.0 Identities = 361/364 (99%) Strand = Plus / Plus Query: 177 tactcatcacgcgggcttaccgcaatggtctaatagcatggctagtcaccattttcccaa 236 ||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||| Sbjct: 545951 tactcatcacgcgggcttaccgcaaaggtctaatagcatggctagtcaccattttcccaa 546010 >ref|NC_001145.1| Saccharomyces cerevisiae chromosome XIII, complete chromosome sequence Length = 924430 2 = 34.2 bits (17), Expect = 0.32 Score Identities = 17/17 (100%) Strand = Plus / Minus