Open mhfzsharmin opened 1 month ago
Hi @mhfzsharmin, this doesn't seem to be a gReLU issue from the error log - this may occur if either bedtools is not installed, or it is not in your path, or perhaps its permissions are too restrictive. Could you check?
@avantikalal The file exists in my path. Also I can access bedtools from the same virtual environment I am using. I gave the file content above. The lines inside the file starts with GL, not with chr which is what the grep command looking for. Since the grep command cannot find any **chr*** it generates an empty file and this empty file gives the bedttols error.
@mhfzsharmin I wonder if there's an error with the chroms="autosomes" parameter because of the trailing comma, which would explain why it's returning unlocalized contigs/scaffolds.
bw_file = grelu.data.preprocess.make_insertion_bigwig( frag_file = frag_file, plus_shift=0, minus_shift=1, # This corrects the +4/-5 Tn5 shift to a +4/-4 shift genome=genome, chroms="autosomes", # The output bigWig file contains coverage over autosomes. )
@mhfzsharmin I just ran tutorial 3 and do not observe this error. The fragment file is not the issue as it does contain chr*
chromosome names below the rows starting with GL
- you will see them if you view the tail
of the file instead of the head
. The rows starting with GL
are just ignored.
I still think this is likely an issue with the bedtools installation.
Is 3_train.ipynb pointing to the wrong input file? The following input gives an error on bedtools command despite the bedtools command exists
I looked into the input file and it has GL instead of chr ---------file content--------------
------------- error log---------------