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

ORFtrack empty lines #6

Open
Proginski opened this issue Jul 20, 2022 · 2 comments
Open

ORFtrack empty lines #6

Proginski opened this issue Jul 20, 2022 · 2 comments

Comments

@Proginski
Copy link
Collaborator

Proginski commented Jul 20, 2022

Sometimes ORFtrack generates empty lines in the output GFF file and thus stop with an error when parsing the output GFF to build the summary.
To reproduce the behavior juste use the defaut options with the attached files (with txt extension to be uploadable on github).
gff.txt
fasta.txt

@Proginski
Copy link
Collaborator Author

Plus if you run the same command but with the co_ovp 0.05 option, it generates a additional line containning only ' |"gag_cds" ' which should be at the end of the previous line.

@nchenche
Copy link
Collaborator

Hi Paul,
I have pushed a temporary patch on the main branch to fix that issue. I've just add a strip() method on the gffline string that is generated for each orf to prevent the presence of an extra '\n' causing empty lines and parsing error during the summary process. I qualifiy this patch as "temporary" because I don't know yet where this extra '`n' comes from...

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

2 participants