LuyiTian / scPipe

a pipeline for single cell RNA-seq data analysis
69 stars 24 forks source link

check bam tag in function #107

Open LuyiTian opened 5 years ago

LuyiTian commented 5 years ago

specify a cell barcode tag that does not exist in bam file cause error:

 *** caught segfault ***
address (nil), cause 'memory not mapped'

and the message is not very informative.

check bam tag at the beginning and write error message if the specified tags do not exist in bam file.