def _add_tools_viral():
	with cd("/home/ubuntu/"):
		bashrc_file = ".bashrc"
		_set_pre_VCR(bashrc_file,"ubuntu","ubuntu")
		bashrc_string = _get_file_string(bashrc_file,"/home/ubuntu/")
		
		if (bashrc_string.find("DEBIAN_FRONTEND") != -1):
			print("Setting DEBIAN_FRONTEND in %s to noninteractive." % bashrc_file)
			sudo("sed -i \"/DEBIAN_FRONTEND/c\DEBIAN_FRONTEND=noninteractive\" %s/%s" % ("/home/ubuntu",bashrc_file))
		else:
			print("No DEBIAN_FRONTEND present! Adding...")
			sudo("echo -e \"DEBIAN_FRONTEND=noninteractive\" >> %s" % bashrc_file)
	
	sudo("wget --no-check-certificate -O %s/viral_assembly_pipeline.py %s" % (env.VIRAL_ROOT_DIR,env.VIRAL_SCRIPT))
	_add_package(dependency_URL,viral_tars["BINARIES_TARBALL"],viral_dirs["TOOLS_BINARIES_DIR"],"tar")
	_add_package(dependency_URL,viral_tars["PERL_TARBALL"],viral_dirs["TOOLS_PERL_DIR"],"tar")
	_apt_get_install("csh")
	_apt_get_install("gawk")
	_initialize_bio_linux()
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/custom/vcr.py/_add_tools_viral/original