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

Errors in MERGED_LIBRARY_BAM_TO_BIGWIG:UCSC_BEDGRAPHTOBIGWIG #290

Closed
AAAAAbetter opened this issue Jun 9, 2023 · 4 comments
Closed

Errors in MERGED_LIBRARY_BAM_TO_BIGWIG:UCSC_BEDGRAPHTOBIGWIG #290

AAAAAbetter opened this issue Jun 9, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@AAAAAbetter
Copy link

Description of the bug

When I run to this step of BAM_TO_BIGWIG, it says the following error, how can I solve this?

Command used and terminal output

Error executing process > 'NFCORE_ATACSEQ:ATACSEQ:MERGED_LIBRARY_BAM_TO_BIGWIG:UCSC_BEDGRAPHTOBIGWIG (control_REP1)'

Caused by:
  Process `NFCORE_ATACSEQ:ATACSEQ:MERGED_LIBRARY_BAM_TO_BIGWIG:UCSC_BEDGRAPHTOBIGWIG (control_REP1)` terminated with an error exit status (255)

Command executed:

  bedGraphToBigWig \
      control_REP1.mLb.clN.bedGraph \
      GRCh38.primary_assembly.genome.fa.sizes \
      control_REP1.mLb.clN.bigWig
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_ATACSEQ:ATACSEQ:MERGED_LIBRARY_BAM_TO_BIGWIG:UCSC_BEDGRAPHTOBIGWIG":
      ucsc: 377
  END_VERSIONS

Command exit status:
  255

Command output:
  (empty)

Command error:
  control_REP1.mLb.clN.bedGraph is not case-sensitive sorted at line 12791860.  Please use "sort -k1,1 -k2,2n" with LC_COLLATE=C,  or bedSort and try again.

Work dir:
  /home/data/yaoyanxin/ABC_model_20230608/nf-ATAC/work/d3/28b5fcda3e5ae068adeba1c121dcb1

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

Relevant files

.nextflow.log

System information

nf-core/atac-seq 2.0

@AAAAAbetter AAAAAbetter added the bug Something isn't working label Jun 9, 2023
@JoseEspinosa
Copy link
Member

This seems to be an error related to your environment variables settings. See here. Also, we had a similar issue on the rnaseq pipeline some time ago, fixed on this PR. You could try to set LANG=C or LC_COLLATE=C and see whether it works.

@JoseEspinosa JoseEspinosa mentioned this issue Jun 12, 2023
4 tasks
@JoseEspinosa
Copy link
Member

This should be fixed now in dev, in case you want to give it a try

@AAAAAbetter
Copy link
Author

This should be fixed now in dev, in case you want to give it a try

Yes! Thanks for your help, I have successfully run this pipline!

@JoseEspinosa
Copy link
Member

OK, thanks for reporting back, then I will close the issue now, let us know if you have any further question.

JoseEspinosa added a commit to JoseEspinosa/nf-core-atacseq that referenced this issue Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants