Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BED file strand '.' is produces strand -1 instead of 0? #13

Open
cmdcolin opened this issue Mar 9, 2020 · 0 comments
Open

BED file strand '.' is produces strand -1 instead of 0? #13

cmdcolin opened this issue Mar 9, 2020 · 0 comments

Comments

@cmdcolin
Copy link

cmdcolin commented Mar 9, 2020

The BED file spec says that strand given as '.' is unstranded but when parsed I am seeing that it is -1

test.pl

use Bio::FeatureIO;
use Data::Dumper;

my $io = Bio::FeatureIO->new(
    -format => 'bed',
    -file => 'test.txt'
);

while ( my $f = $io->next_feature() ) {
    print $f->strand;
}

test.txt

NbV1Ch01	18776453	18777002	MACS2_peak_1486	34	.	2.35549	5.48617	3.42439	437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant