Closed kamisama0101 closed 5 months ago
Hi kamisama0101. Thank you for the finding the error. You are right that it should be footprints.bed
. Could you try again by saving your ATAC-seq peak _peaks.narrowPeak
file as footprints.bed
, but without modifying the code? The code can be interlinked in several places so incomplete changes may lead to errors too.
Lingfei
I can obtain the files before running the network inference in autoDL platform by cloning the instance. By saving my ATAC-seq peak _peaks.narrowPeak file as footprints.bed, I reperform the network inference. The same Error occured that IndexError: list index out of range appeared in d['chr']=d['PositionID'].apply(lambda x:x.split(':')[1]). It seems that I still need "w" values in my footprints.bed.
Issue resolved outside github.
Checks before submitting the issue
Describe the error
Optional steps (may accelerate troubleshooting)
At first, I follow the issue #23 (https://github.com/pinellolab/dictys/issues/23) to integrate bulk ATAC-seq data and scRNAa-seq:
Besides, I didn't identify the footprint.bed file in the corresponding location (tmp_static/Subset*) of the completed short-multiome pipelines. Therefore, I hypothesised that the footprints.bed should not be an empty file and the footprint.bed in step 4 of issue #23 should be footprints.bed, so I modified the codes and copy the footprints.bed from footprint.bed and redid step 5 and 6 of issue #23. However, IndexError: list index out of range appeared in d['chr']=d['PositionID'].apply(lambda x:x.split(':')[1]) in chromatin_homer.py. chromatin_homer.py. I thought this PosistionID was derived from column 4 of the footprints.bed, which is supposed to be the 'peak id','chr','start','end','name','w' seperated by ":", so I tried to reformat column 4. However, I cannot find what is the "w". I guess the "w" is Wellington score generated from Wellington bootstrap or something, but I don't know how to calculate "w" from the bulk ATAC-seq data both biologically and mathematically. Finally, I set all "w" in my footprints.bed as "-1000.0" and reperform the step 5 and 6 in issue #23 . In summary, I have two questions: