-
Notifications
You must be signed in to change notification settings - Fork 6
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
Amulet output contains only Overlap file, there is no overlaps summary #23
Comments
Hi, It looks like there was an error while overlaps were being calculated. The overlaps are likely partial, as this file is written as they are being found. The summary file is written at the very end. Was there an error reported while finding the overlaps? Also, is this using the alignment (.bam) or fragments file? One solution may be to try using the other input method if possible to generate these overlap outputs (i.e., using the bam file if you used the fragment file previously, or using the fragment file if you used the bam file previously). |
No errors came up when calculating overlaps, the script seems to run smoothly up to the point when it tries to load outputs from the first step. I used fragments because I don't have the bam file. |
Does your input single cell csv file include a Relevant code: Initialization of the summary data: (Note: you should still have information for each barcode as values are initialized to 0)
Code to write the file: |
Based on this, if you were to look at I'm sorry I don't have an answer to what else could be going wrong and unfortunately I don't have a good solution outside of manually running the code in jupyter notebook/python terminal and going through step by step. |
OK, I found the problem, it is to due to the depreciation of
in line 193 FragmentFileOverlapCounter.py you need to change dtype=np.object to dtype=object: What makes debugging really difficult is that somehow invoking AMULET via the shell script, does not throw this error. Cheers! |
I tried running the AMULET.sh script but it only produces the Overlaps.txt output, the OverlapSummary.txt file is not written.
Then, the python script throws an error.
`Traceback (most recent call last):
summarydata = pd.read_csv(args.overlapsummary, sep="\t").values
pandas.errors.EmptyDataError: No columns to parse from file`
The text was updated successfully, but these errors were encountered: