Great. you have made it further than me then!
Can I ask if you are using a service account? and, what roles you
added to your service account?
My pipeline runs, but it keeps failing because it does not seem to be
able to write to the google bucket (I think).
Ethan
--
Ethan Cerami
On March 7, 2019 at 10:53:11 AM, Lisle Mose (
lisle...@gmail.com) wrote:
> Ah, yes - I opened a new terminal and neglected to
> set GOOGLE_APPLICATION_CREDENTIALS. After setting this and removing
> underscores from the bucket name, my simple test has worked and I do see
> the expected output in the work dir.
>
> It looks like the original issue is with underscores in the bucket name
> (dashes appear to be OK).
>
> So, the following does *NOT* work:
> nextflow run
test.nf -work-dir gs://lccc_nextflow_test3/work --fq gs://
> *lccc_nextflow_test3*/test_1.fastq
> N E X T F L O W ~ version 19.01.0
> Launching `
test.nf` [golden_sanger] - revision: 3ab717f7aa
> ERROR ~ gs:// URIs must have a host: gs://lccc_nextflow_test3/work
>
> The following *DOES* work:
> nextflow run
test.nf -work-dir gs://lccc-nextflow-test/work --fq gs://
> *lccc-nextflow-test*/test_1.fastq
> N E X T F L O W ~ version 19.01.0
> Launching `
test.nf` [jolly_ptolemy] - revision: 3ab717f7aa
> [warm up] executor > google-pipelines
> [43/4ce875] Submitted process > word_count (1)
>
> Thanks,
> Lisle
>
> >>>> *Command and error:*
> >>>>
> >>>> nextflow run
test.nf -work-dir
> >>>> gs://test_project_data/nextflow-test/work --fq
> >>>> gs://test_project_data/nextflow-test/test_1.fastq
> >>>> N E X T F L O W ~ version 19.01.0
> >>>> Launching `
test.nf` [sad_lumiere] - revision: cbe409dcbb
> >>>> ERROR ~ gs:// URIs must have a host:
> >>>> gs://test_project_data/nextflow-test/work
> >>>>
> >>>> -- Check '.nextflow.log' file for details
> >>>>
> >>>> *nextflow.config:*
> >>>> process {
> >>>> executor = 'google-pipelines'
> >>>> container = 'm0zack/rna_seq_test'
> >>>> }
> >>>>
> >>>> cloud {
> >>>> instanceType = 'n1-standard-2'
> >>>> }
> >>>>
> >>>> google {
> >>>> project = 'my-proj-name'
> >>>> zone = 'us-east1-b'
> >>>> }
> >>>>
> >>>> *
test.nf :*