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

correct_gff_feature_order.pl misplacing ##FASTA #29

Open
ktretina opened this issue Nov 20, 2014 · 0 comments
Open

correct_gff_feature_order.pl misplacing ##FASTA #29

ktretina opened this issue Nov 20, 2014 · 0 comments

Comments

@ktretina
Copy link
Collaborator

Hello,
While the script seems to work as advertised otherwise, when given a GFF file with a FASTA at the end of the file, correct_gff_feature_order.pl places the "##FASTA" header in the wrong place in the output file, such that this header is on the second line of the file like so:

1 ##gff-version 3
2 ##FASTA

The problem in the code seems to be here, where you need special handling of the "##FASTA" line:

first write the comments to the output file

for ( @comment_lines ) {
print $ofh "$_\n";
}

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