Codebase list ariba / a2979e8
New upstream version 2.12.1+ds Sascha Steinbiss 5 years ago
3 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
0 FROM ubuntu:17.04
0 FROM ubuntu:17.10
11
22 RUN apt-get update
33 RUN apt-get install --no-install-recommends -y \
2828
2929 RUN git clone https://github.com/sanger-pathogens/ariba.git \
3030 && cd ariba \
31 && git checkout v2.10.1 \
31 && git checkout v2.12.0 \
3232 && python3 setup.py test \
3333 && python3 setup.py install
3434
189189
190190 @classmethod
191191 def _get_genetic_epi_database_from_bitbucket(cls, db_name, outdir, git_commit=None):
192 assert db_name in {'plasmidfinder', 'resfinder', 'virulence_finder'}
192 assert db_name in {'plasmidfinder', 'resfinder', 'virulencefinder'}
193193 cmd = 'git clone ' + 'https://bitbucket.org/genomicepidemiology/' + db_name + '_db.git ' + outdir
194194 common.syscall(cmd)
195195
496496 except:
497497 raise Error('Error mkdir/chdir ' + tmpdir)
498498
499 zipfile = 'plasmidfinder.zip'
499 zipfile = 'virulencefinder.zip'
500500 cmd = 'curl -X POST --data "folder=virulencefinder&filename=virulencefinder.zip" -o ' + zipfile + ' https://cge.cbs.dtu.dk/cge/download_data.php'
501501 print('Downloading data with:', cmd, sep='\n')
502502 common.syscall(cmd)
503503 common.syscall('unzip ' + zipfile)
504504 else:
505 RefGenesGetter._get_genetic_epi_database_from_bitbucket('plasmidfinder', tmpdir, git_commit=self.version)
505 RefGenesGetter._get_genetic_epi_database_from_bitbucket('virulencefinder', tmpdir, git_commit=self.version)
506506 os.chdir(tmpdir)
507507
508508 print('Combining downloaded fasta files...')
5454 setup(
5555 ext_modules=[minimap_mod, fermilite_mod, vcfcall_mod],
5656 name='ariba',
57 version='2.12.0',
57 version='2.12.1',
5858 description='ARIBA: Antibiotic Resistance Identification By Assembly',
5959 packages = find_packages(),
6060 package_data={'ariba': ['test_run_data/*']},