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

added fastx function, which is like sprintf for FASTA & FASTQ #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vsbuffalo
Copy link
Contributor

This commit adds the function fastx, which behaves like sprintf for FASTA/FASTQ output. It simplifies FASTA/FASTQ output, as fastx($name, $seq) outputs a FASTA entry and fastx($name, $seq, $qual) outputs a FASTQ entry. I chose to make a function like sprintf because overloading a print-like function would require changing much more of the basic awk code (to deal with redirection, etc).

ctSkennerton pushed a commit to ctSkennerton/bioawk that referenced this pull request May 22, 2019
Avoid undefined behaviour when using ctype(3) functions in relex() (possible fix for lh3#11)
hwalinga added a commit to hwalinga/bioawk that referenced this pull request Aug 13, 2019
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

Successfully merging this pull request may close these issues.

1 participant