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

Lesson contribution grep #258

Merged

Conversation

rortizmerino
Copy link
Contributor

@rortizmerino rortizmerino commented Sep 17, 2019

Made 2 commits including changes to the use of grep to get correctly formatted fastq files. The changes expand on the use of command redirection and use extended options for custom grep control. Changes are made in shell-genomics/04-redirection and shell-genomics/05-writing-scripts.
It is related to issue #224 , #232 , #227 , #230 , and maybe more so I guess is a hot topic, hope it helps.

Moved the division by four mention to the end of the "Redirecting output" section. Explained a potential issue caused by the default group separator, and used the recently introduced pipe to use fix it.
Included the -v '^--' edit in accordance to the previous commit to section 4. Added -h to avoid filenames in output and have "scripted_bad_reads.txt" ready to use with other tools e.g. fastqc in "Assessing Read Quality" from the "Data Wrangling and Processing for Genomics"
@aschuerch
Copy link
Contributor

Thank you @rortizmerino! This looks like a good solution to me. In addition, I think it will address #194 by giving a bit more context to redirection. What do you think @datacarpentry/shell-genomics-maintainers ?

@aschuerch
Copy link
Contributor

Will merge this now. Thank you again @rortizmerino

@aschuerch aschuerch merged commit 83ad57b into datacarpentry:gh-pages Jan 31, 2020
zkamvar pushed a commit that referenced this pull request May 8, 2023
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.

2 participants