dputhier / libgtftk

gtftk C Library and program

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with select_by_positions

dputhier opened this issue · comments

The Python function select_by_regexp makes call to the C function select_by_positions. Unfortunately this raise a segfault in certain conditions:

gtftk retrieve -C -s homo_sapiens -r 91 -cd > output/01_get_gtf/homo_sapiens_91.gtf
gtftk select_by_regexp -k chrom -r "chr[0-9XY]+" -i output/01_get_gtf/homo_sapiens_91.gtf -o output/02_select_chrom/homo_sapiens_91.gtf

The problem was related to gtftk python library.