This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rsync -avL rsync://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria/Mycobacterium_* refseq/Mycobacterium/ | |
| rsync -avL rsync://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria/Mycolicibacterium_* refseq/Mycolicibacterium/ | |
| mkdir fna | |
| find refseq/Mycobacterium/ -name "*_genomic.fna.gz" -exec cp {} fna \; | |
| find refseq/Mycolicibacterium/ -name "*_genomic.fna.gz" -exec cp {} fna \; | |
| rm -f fna/*_cds_from_genomic.fna.gz | |
| rm -f fna/*_cds_from_genomic.fna.gz | |
| rm -f fna/*_rna_from_genomic.fna.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Lineage report | |
| -------------- | |
| Lineage Estimated Fraction Family Spoligotype Rd | |
| lineage4 1.000 Euro-American LAM;T;S;X;H None | |
| lineage4.3 1.000 Euro-American (LAM) mainly-LAM None | |
| lineage4.3.4 1.000 Euro-American (LAM) LAM RD174 | |
| lineage4.3.4.2 1.000 Euro-American (LAM) LAM1;LAM4;LAM11 RD174 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rsync -avL rsync://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria/Mycobacterium_* refseq/Mycobacterium/ | |
| rsync -avL rsync://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria/Mycolicibacterium_* refseq/Mycolicibacterium/ | |
| mkdir fna | |
| find refseq/Mycobacterium/ -name "*_genomic.fna.gz" -exec cp {} fna \; | |
| find refseq/Mycolicibacterium/ -name "*_genomic.fna.gz" -exec cp {} fna \; | |
| rm -f fna/*_cds_from_genomic.fna.gz | |
| rm -f fna/*_cds_from_genomic.fna.gz | |
| rm -f fna/*_rna_from_genomic.fna.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print("Testing") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print("Testing") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Bio::EnsEMBL::LookUp; | |
| use Bio::SeqIO; | |
| use Bio::Seq; | |
| my $string = $ARGV[0] || 'gyrA'; |