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

Add header only one time #5

Closed
jodjo86 opened this issue Dec 15, 2022 · 2 comments
Closed

Add header only one time #5

jodjo86 opened this issue Dec 15, 2022 · 2 comments

Comments

@jodjo86
Copy link

jodjo86 commented Dec 15, 2022

Hi,

Do you think it is possible to add the header only once. The -s argument controls whether to have no header or one header per fastq file.

example command I am using:
parallel faster -ts ::: /path/to/fastq/*.fastq.gz > out.tsv

thank you

@angelovangel
Copy link
Owner

Hi,
it is not possible directly. One solution would be to run faster -t example.fastq.gz > out.tsv once to get the header and then in subsequent runs with parallel append to the previous output:
parallel faster -ts ::: /path/to/fastq/*.fastq.gz >> out.tsv

@jodjo86
Copy link
Author

jodjo86 commented Dec 23, 2022

Good idea. Thank you

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