[Biopython] [Samtools-help] Segmentation fault

Peter Cock p.j.a.cock at googlemail.com
Tue Oct 18 09:00:47 UTC 2011


On Tue, Oct 18, 2011 at 4:44 AM, Mic <mictadlo at gmail.com> wrote:
> Hello,
> I have tried to generate a subset BAM, but I get a 'Segmentation fault' with
> the following code:
> from Bio import SeqIO
> import pysam
> from optparse import OptionParser
> import subprocess, os, sys
> from multiprocessing import Pool
> import functools
> ...

I tried this and it seemed to get stuck much earlier. Could you
cut down the example a bit by removing the multiprocessing?

Peter

P.S. Also you can remove the unused "import argparse" line.



More information about the Biopython mailing list