Closed Tu4n-ph4m closed 3 months ago
Hi @Tu4n-ph4m
No worries.
Can you show the head of each file in scATAC/consensus_peak_calling/pseudobulk_bed_files/
using
zcat <FILENAME>.fragments.tsv.gz | head
All the best,
Seppe
Here it is:
Could you try running the commandline version: scatac_fragment_tools bigwig
on your fragment files?
https://github.com/aertslab/scatac_fragment_tools
# Try the following:
# Write normalized bigwig with pybigwig
scatac_fragment_tools bigwig \
-i <FRAGMENTS_FILENAME> \
-c <CHROM_SIZES_FILENAME> \
-o <BIGWIG_FILENAME> \
-w pybigwig \
-n \
-v
# Write normalized bigwig with pybigtools
scatac_fragment_tools bigwig \
-i <FRAGMENTS_FILENAME> \
-c <CHROM_SIZES_FILENAME> \
-o <BIGWIG_FILENAME> \
-w pybigtools
-n \
-v
Report the output it prints.
I got this error while running the code. The fragment file is downloaded from the tutorial for pbmc and the chrom size file is downloaded from 'http://hgdownload.cse.ucsc.edu/goldenPath/hg38/bigZips/hg38.chrom.sizes'
Hi @Tu4n-ph4m
I just downloaded the fragments file again and ran this code and I was not able to reproduce your error.
Can you make sure your fragment file is still intact? Maybe try redownloading it.
All the best,
Seppe
Hi Seppe, I just redownloaded it and got the same error. I looked into the file with zcat it seems about right to me. I also double checked that I installed the "scatac_fragment_tools" tool and it seems to do alright. So I'm a bit confused...
Hi @Tu4n-ph4m
What version of pybigwig do you have?
import pybigwig
pybigwig.__version__
All the best,
Seppe
I'm running version 0.3.22
Hi @Tu4n-ph4m
With version 0.3.22 it did work for me ... Really not sure what is going on here.
For my test I used python 3.11, can you try that?
Could you also try in a new environment with only scatac_fragment_tools
installed?
All the best,
Seppe
Hi @SeppeDeWinter , sorry forgot to update. It was because I installed the tbi file in the wrong place so it wasn't able to run successfully. Thank you so much for your help!
Sorryq for the duplicate threads. I wasn't sure where I should post the issue so I just went back and forth between scenicplus and pycistopic but then I think sceniplus might be of help for more people so here it is.
Describe the bug Hi there, I'm trying to re-run the pbmc tutorial but it doesn't seem to work on my end.
The command I tried:
Here's the error I have:
Full error message is as follows: