You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expect failures in "Validate input data" step because of that and stop before "Network inference" step.
Create folders tmp_static/$celltype for each $celltype in data/subsets.txt.
Copy your ATAC-seq peak _peaks.narrowPeak bed file to each tmp_static/$celltype/footprint.bed. They can be different for each folder depending on the cell-type specificity of your ATAC-seq data. But it should only contain the strongest (here 100K) peaks based on column. This was our peak based (not footprint based) TF binding network approach mentioned in our internal benchmark section, although the peaks were called for each cell type from scATAC-seq data.
In each tmp_static/$celltype folder, run touch names_atac0.txt; touch names_atac.txt; touch reads.bai reads.bam peaks.bed; touch footprints.bed to trick make with modification dates.
Continue running the notebook from the "Network inference" step.
However, I found the empty footprints.bed will leave the process sleep forever because the files in the 15-tfs cannot be generated:
(in chromatin_homer.sh)
ls -1 14-reform-split | tail -n +2 | while read l; do
while ! [ -e 15-tfs/"$l".done ]; do
sleep 1
done
tail -n +2 15-tfs/"$l" >> 15-tf.bed
rm -f 15-tfs/"$l"
done
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:
Is the footprint.bed in step 4 in issue Data input type #23 supposed to be footrprints.bed?
Will the "w" affect the downstream network inference? If so, how can I obtain the "w" from bulk ATAC-seq data
Checks before submitting the issue
Describe the error
Optional steps (may accelerate troubleshooting)
At first, I follow the issue #23 (#23) to integrate bulk ATAC-seq data and scRNAa-seq:
However, I found the empty footprints.bed will leave the process sleep forever because the files in the 15-tfs cannot be generated:
(in chromatin_homer.sh)
ls -1 14-reform-split | tail -n +2 | while read l; do
while ! [ -e 15-tfs/"$l".done ]; do
sleep 1
done
tail -n +2 15-tfs/"$l" >> 15-tf.bed
rm -f 15-tfs/"$l"
done
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: