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

ataqc module fails #66

Closed
nicolerg opened this issue Dec 6, 2018 · 5 comments
Closed

ataqc module fails #66

nicolerg opened this issue Dec 6, 2018 · 5 comments

Comments

@nicolerg
Copy link

nicolerg commented Dec 6, 2018

After implementing the change in #64, call-ataqc fails with the following error:

Traceback (most recent call last):
  File "/users/nicolerg/anaconda2/envs/encode-atac-seq-pipeline/bin/encode_ataqc.py", line 355, in <module>
    ataqc()
  File "/users/nicolerg/anaconda2/envs/encode-atac-seq-pipeline/bin/encode_ataqc.py", line 186, in ataqc
    read_len)
  File "/users/nicolerg/anaconda2/envs/encode-atac-seq-pipeline/bin/run_ataqc.py", line 438, in make_tss_plot
    processes=processes, stranded=True)
  File "/users/nicolerg/anaconda2/envs/encode-atac-seq-pipeline/lib/python2.7/site-packages/metaseq/_genomic_signal.py", line 122, in array
    chunksize=chunksize, **kwargs)
  File "/users/nicolerg/anaconda2/envs/encode-atac-seq-pipeline/lib/python2.7/site-packages/metaseq/array_helpers.py", line 383, in _array_parallel
    itertools.repeat(kwargs)))
  File "/users/nicolerg/anaconda2/envs/encode-atac-seq-pipeline/lib/python2.7/multiprocessing/pool.py", line 253, in map
    return self.map_async(func, iterable, chunksize).get()
  File "/users/nicolerg/anaconda2/envs/encode-atac-seq-pipeline/lib/python2.7/multiprocessing/pool.py", line 572, in get
    raise self._value
ValueError: invalid reference `chr1`

This might be related to non-standard chromosome names. I am using the "atac.keep_irregular_chr_in_bfilt_peak" : false option.

OS/Platform and dependencies

  • OS or Platform: Ubuntu 16.04.4 (durga)
  • Cromwell/dxWDL version: cromwell 34-unknown-SNAP
  • Conda version: conda 4.5.11

debug_65.tar.gz

@nicolerg
Copy link
Author

nicolerg commented Dec 6, 2018

The tar file should be named debug_66.tar.gz

@leepc12
Copy link
Contributor

leepc12 commented Dec 7, 2018

Can you upload your genome TSV file and two files (tss_enrich and chrsz) in it?

@nicolerg
Copy link
Author

nicolerg commented Dec 8, 2018

The genome is the hard-masked version from the most recent Ensembl rat build: ftp://ftp.ensembl.org/pub/release-94/fasta/rattus_norvegicus/dna/

tss.rn6.bed.gz
rn6_masked.chrom.sizes.txt
rn6_masked.txt

@leepc12
Copy link
Contributor

leepc12 commented Dec 12, 2018

This will be fixed in the next release v1.1.4. It will be released soon (this week).

@leepc12
Copy link
Contributor

leepc12 commented Dec 17, 2018

Closing this. Duplicate of #69.

@leepc12 leepc12 closed this as completed Dec 17, 2018
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

2 participants