Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ewels
Copy link
Member

@ewels ewels commented Oct 5, 2018

New subcommand to interactively prompt the user to set workflow flags before launching.

For example:

$  nf-core launch methylseq

                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'


INFO: Launching nf-core/methylseq


INFO: Main nextflow options:

Config profile to use [standard]:
Unique name for this nextflow run [False]: Phil's test run
Work directory for intermediate files [work]:
Resume a previous workflow run [False]: true
Release / revision to use [False]: 1.0

INFO: Pipeline specific parameters:

--mindepth [0]:
--nodedup [false]: true
--reads ['data/*_R{1,2}.fastq.gz']:
--numMismatches [0.6]:
--igenomes_base ['s3://ngi-igenomes/igenomes/']:
--container ['nfcore/methylseq:1.0']:
--notrim [false]: false
--max_memory ['128 GB']: 64 GB
--version ['1.0']:
--saveReference [false]:
--unmapped [false]: false
--max_cpus [16]:
--saveTrimmed [false]:
--non_directional [false]:
--comprehensive [false]:
--aligner ['bismark']:
--outdir ['./results']:
--relaxMismatches [false]:
--singleEnd [false]:
--saveAlignedIntermediates [false]:
--nf_required_version ['0.27.6']:
--ignoreFlags [false]:
--max_time ['10d']:
--multiqc_config ['/Users/ewels/.nextflow/assets/nf-core/methylseq/conf/multiqc_config.yaml']:

INFO: Nextflow command:
  nextflow run nf-core/methylseq -name "Phil's test run" -resume -r "1.0" --nodedup --max_memory "64 GB"


Do you want to run this command now? [y/N]: y

INFO: Launching!

This is a WIP - need to fill in the PR checklist still. It's a little crude, so any feedback welcome!

NB: This only works with local paths or workflows that have already been pulled (see nextflow-io/nextflow#889). For anything else, it does not ask for any params and just builds the basic command. This should probably be handled in a better way (a warning at least).

PR checklist

  • This comment contains a description of changes (with reason)
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated
  • CHANGELOG.md is updated
  • README.md is updated

New subcommand to interactively prompt the user to set workflow flags before launching.
@ewels ewels added WIP Work in progress command line tools Anything to do with the cli interfaces labels Oct 5, 2018
@ewels ewels requested a review from a team October 5, 2018 22:04
@codecov-io
Copy link

codecov-io commented Oct 5, 2018

Codecov Report

Merging #174 into dev will decrease coverage by 5.96%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #174      +/-   ##
==========================================
- Coverage   78.55%   72.58%   -5.97%     
==========================================
  Files           8        9       +1     
  Lines         900      974      +74     
==========================================
  Hits          707      707              
- Misses        193      267      +74
Impacted Files Coverage Δ
nf_core/launch.py 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6dc0f16...af93b2e. Read the comment docs.

@ewels ewels changed the base branch from dev to nf-core-launch January 7, 2019 14:21
@ewels ewels merged commit 339075e into nf-core:nf-core-launch Jan 7, 2019
@ewels ewels mentioned this pull request Jan 7, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command line tools Anything to do with the cli interfaces WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants