Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

star_align failed due to global variable assignment #25

Open
akhileshmishra0908 opened this issue Apr 5, 2022 · 0 comments
Open

star_align failed due to global variable assignment #25

akhileshmishra0908 opened this issue Apr 5, 2022 · 0 comments

Comments

@akhileshmishra0908
Copy link

Hi,
I am getting this error while I am running the example file, may you please help me in this,

(clinker) akhileshmishra@x86_64-apple-darwin13 Clinker-1.32 % bpipe -p out=/Users/akhileshmishra/Documents/Clinker/Clinker-1.32/run -p caller=$CLINKERDIR/test/caller/bcr_abl1.csv -p col=1,2,3,4 -p genome=19 -p print=true -p competitive=true -p header=true -p align_mem=31025992405 -p genome_mem=31025992405 -p fusions=BCR:ABL1 $CLINKERDIR/workflow/clinker.pipe $CLINKERDIR/test/fastq/*.fastq.gz
╒══════════════════════════════════════════════════════════════════════════════════════════════════╕
| Starting Pipeline at 2022-04-04 19:23 |
╘══════════════════════════════════════════════════════════════════════════════════════════════════╛

======================================== Stage generate_fst ========================================

====================================== Stage star_genome_gen =======================================

===================================== Stage star_align (test) ======================================
ERROR: stage star_align failed:

 An attempt was made to assign to global variable files after your pipeline already 
 started running. To ensure thread safety, global variables may only be assigned 
 before the pipeline starts. Solutions include:

  - add 'def', 'var', or 'requires' before this assignment to define a local variable,
    eg: def files = "/Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R1.fastq.gz /Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R2.fastq.gz" or: var files : "/Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R1.fastq.gz /Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R2.fastq.gz"
  - define a branch variable using: branch.files = "/Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R1.fastq.gz /Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R2.fastq.gz"

 You can disable this behavior at your own risk by setting allowGlobalWrites=true in 
 your bpipe.config file.

========================================= Pipeline Failed ==========================================

In stage Unknown: One or more parallel stages aborted. The following messages were reported:

-------------------------------------- star_align ( test ) ---------------------------------------

 An attempt was made to assign to global variable files after your pipeline already 
 started running. To ensure thread safety, global variables may only be assigned 
 before the pipeline starts. Solutions include:

  - add 'def', 'var', or 'requires' before this assignment to define a local variable,
    eg: def files = "/Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R1.fastq.gz /Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R2.fastq.gz" or: var files : "/Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R1.fastq.gz /Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R2.fastq.gz"
  - define a branch variable using: branch.files = "/Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R1.fastq.gz /Users/akhileshmishra/Documents/Clinker/Clinker-1.32/test/fastq/test_R2.fastq.gz"

 You can disable this behavior at your own risk by setting allowGlobalWrites=true in 
 your bpipe.config file.

Use 'bpipe errors' to see output from failed commands.

Looking forward for your support.

AKhilesh Mishra
[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant