drop icon indicating copy to clipboard operation
drop copied to clipboard

Error in h(simpleError(msg, call))

Open deb0612 opened this issue 1 year ago • 13 comments

Dear sir, There are something wrong when I rumming freaser,

image Is there anything wrong with bam file?

deb0612 avatar Dec 01 '22 17:12 deb0612

There might be. Did other bam files get counted? Make sure it is properly indexed. You can further check if it can get loaded by executing: Rsamtools::BamFile(path/to/yourbamfile.bam)

vyepez88 avatar Dec 02 '22 09:12 vyepez88

Thanks, I found other bam files sometimes get counted and sometimes not.

Vicente Yepez @.***>於 2022年12月2日 週五,下午5:59寫道:

There might be. Did other bam files get counted? Make sure it is properly indexed. You can further check if it can get loaded by executing: Rsamtools::BamFile(path/to/yourbamfile.bam)

— Reply to this email directly, view it on GitHub https://github.com/gagneurlab/drop/issues/403#issuecomment-1335011462, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5RNPX5SHZ5Y35R4SVVJNLWLHCARANCNFSM6AAAAAASRBEEAI . You are receiving this because you authored the thread.Message ID: @.***>

deb0612 avatar Dec 02 '22 14:12 deb0612

can you rerun the pipeline with the -k option? In that way it will try to count all of them even if there was an error in the sample. Then, for the BAM files that didn't get counted, verify that they are indexed and that you can load them in R using the following command: Rsamtools::BamFile(path/to/yourbamfile.bam)

vyepez88 avatar Dec 02 '22 14:12 vyepez88

Dear sir, I use -k option, however there is other error image the log file was here: 2022-12-02T225702.748057.snakemake.log

The result of Rsamtools::BamFile(path/to/yourbamfile.bam): image

deb0612 avatar Dec 02 '22 15:12 deb0612

of your 24 samples, can you check how many were counted the split reads? They should be in this folder: Output/processed_data/aberrant_splicing/datasets/cache/raw-local-normal/sample_tmp/splitCounts

vyepez88 avatar Dec 02 '22 16:12 vyepez88

It seems to only fail for the split read counting. Could you please share the result of this command to check in detail the quality of your bam file, maybe we can see if things are split. Replacing <INPUT_BAM_FILE> with your bam. This will just look for the CIGAR string matching N which will hopefully show us split reads.

samtools view <INPUT_BAM_FILE>| cut -f6 |grep N |head -10

It should hopefully look something like this:

98M140N3M
96M140N5M
94M140N7M
94M140N7M
94M140N7M
94M140N7M
94M140N7M
93M140N8M
86M140N15M

nickhsmith avatar Dec 02 '22 17:12 nickhsmith

I got nothing in the folder.

Vicente Yepez @.***> 於 2022年12月3日 週六 凌晨12:08寫道:

of your 24 samples, can you check how many were counted the split reads? They should be in this folder:

Output/processed_data/aberrant_splicing/datasets/cache/raw-local-normal/sample_tmp/splitCounts

— Reply to this email directly, view it on GitHub https://github.com/gagneurlab/drop/issues/403#issuecomment-1335477960, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5RNPXBAFSFN7PY72VI4MDWLINH7ANCNFSM6AAAAAASRBEEAI . You are receiving this because you authored the thread.Message ID: @.***>

deb0612 avatar Dec 03 '22 09:12 deb0612

Here is not of the result [image: image.png]

nickhsmith @.***> 於 2022年12月3日 週六 凌晨1:44寫道:

It seems to only fail for the split read counting. Could you please share the result of this command to check in detail the quality of your bam file, maybe we can see if things are split. Replacing <INPUT_BAM_FILE> with your bam. This will just look for the CIGAR string matching N which will hopefully show us split reads.

samtools view <INPUT_BAM_FILE>| cut -f6 |grep N |head -10

It should hopefully look something like this:

98M140N3M 96M140N5M 94M140N7M 94M140N7M 94M140N7M 94M140N7M 94M140N7M 93M140N8M 86M140N15M

— Reply to this email directly, view it on GitHub https://github.com/gagneurlab/drop/issues/403#issuecomment-1335584274, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5RNPR3HSIOTP4GEKBHR6DWLIYQVANCNFSM6AAAAAASRBEEAI . You are receiving this because you authored the thread.Message ID: @.***>

deb0612 avatar Dec 03 '22 09:12 deb0612

The image didn't get sent. Can you please share the results again?

nickhsmith avatar Dec 03 '22 21:12 nickhsmith

nickhsmith @.***>於 2022年12月4日 週日,上午5:06寫道:

The image didn't get sent. Can you please share the results again?

— Reply to this email directly, view it on GitHub https://github.com/gagneurlab/drop/issues/403#issuecomment-1336257969, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5RNPVE5GUQ4G6FAP7MWNTWLOY6RANCNFSM6AAAAAASRBEEAI . You are receiving this because you authored the thread.Message ID: @.***>

deb0612 avatar Dec 04 '22 01:12 deb0612

The output looked like this:

76M166846N13M1S 75M166846N15M 74M166840N16M 68M166846N16M6S 68M166846N13M9S 68M166846N17M5S 1S67M166846N17M5S 66M166846N17M7S 1S65M166846N17M7S 64M166846N14M12S

deb0612 avatar Dec 05 '22 07:12 deb0612

Hmm. It seems like you do have split reads (this one is particularly large). @vyepez88 any thoughts?

nickhsmith avatar Dec 07 '22 16:12 nickhsmith

hard to say. Can you share with us your config file?

vyepez88 avatar Dec 09 '22 14:12 vyepez88