scPipe
scPipe copied to clipboard
check bam tag in function
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.