Skip to content

Commit

Permalink
updating --update and bumping nexclade and pangolin
Browse files Browse the repository at this point in the history
  • Loading branch information
replikation authored Apr 12, 2022
1 parent 4489f83 commit e407cbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ params {
update = false
screen_reads = false
screen_reads_plot_cutoff = 0.03
defaultpangolin = 'nanozoo/pangolin-v4:4.0--1.2.133'
defaultnextclade = 'nanozoo/nextclade:1.10.3--2022-02-07'
defaultpangolin = 'nanozoo/pangolin-v4:4.0.4--1.2.133'
defaultnextclade = 'nanozoo/nextclade:1.11.0--2022-03-31'

// parameters
primerV = 'V3'
Expand Down
4 changes: 2 additions & 2 deletions poreCov.nf
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ if (params.samples) {

static boolean DockernetIsAvailable() {
try {
final URL url = new URL("https://registry.hub.docker.com/v2/repositories/nanozoo/pangolin/tags/");
final URL url = new URL("https://registry.hub.docker.com/v2/repositories/nanozoo/pangolin-v4/tags/");
final URLConnection conn = url.openConnection();
conn.connect();
conn.getInputStream().close();
Expand All @@ -252,7 +252,7 @@ def internetcheck = DockernetIsAvailable()
if (params.update) {
println "\033[0;33mWarning: Running --update might not be poreCov compatible!\033[0m"
if ( internetcheck.toString() == "true" ) {
tagname = 'https://registry.hub.docker.com/v2/repositories/nanozoo/pangolin/tags/'.toURL().text.split(',"name":"')[1].split('","')[0]
tagname = 'https://registry.hub.docker.com/v2/repositories/nanozoo/pangolin-v4/tags/'.toURL().text.split(',"name":"')[1].split('","')[0]
params.pangolindocker = "nanozoo/pangolin:" + tagname
println "\033[0;32mFound latest pangolin container, using: " + params.pangolindocker + " \033[0m"

Expand Down

0 comments on commit e407cbf

Please sign in to comment.