X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fread_gff;h=140321958a12dda44cc61f50d156c3611d25f157;hb=2f0fd91b461033529a4a72e161bd133252a22eb6;hp=b3d36db6ebe6a022fb898fefaf067d0ff8318124;hpb=9bf550c4335d8860c5f6f9c4db0f385f1b36c1dd;p=biopieces.git diff --git a/bp_bin/read_gff b/bp_bin/read_gff index b3d36db..1403219 100755 --- a/bp_bin/read_gff +++ b/bp_bin/read_gff @@ -58,9 +58,11 @@ if ( $options->{ 'data_in' } ) $num = 1; - while ( $entry = Maasha::GFF::get_entry( $data_in ) ) + while ( $entry = Maasha::GFF::gff_entry_get( $data_in ) ) { - Maasha::Biopieces::put_record( $entry, $out ); + if ( $record = Maasha::GFF::gff2biopiece( $entry ) ) { + Maasha::Biopieces::put_record( $record, $out ); + } last if $options->{ "num" } and $num == $options->{ "num" };