You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grep -v "^#" Mus_musculus.GRCm38.75_chr1.gtf | cut -f1-8 | head -n3
It would be good to get people to take a look at the first few rows of the Mus_musculus.GRCm38.75_chr1.gtf file so they can see what the header rows look like.
The text was updated successfully, but these errors were encountered:
just before sort comes in, a good addition would be to include how to automatically number the lines after doing grep -v "^#" Mus_musculus.GRCm38.75_chr1.gtf | head -1 | tr '\t' '\n'
This could either be with nl or perhaps expanded on in the awk material as an example of when you might use NR e.g. grep -v "^#" Mus_musculus.GRCm38.75_chr1.gtf | head -1 | tr '\t' '\n' | awk '{print NR $0}', This is an extremely useful code snippet so that you can quickly know the column number(s) of what you want to extract out with cut or awk
In: workshop_material/4_inspectmanipluate.md
When doing this sort of stuff:
It would be good to get people to take a look at the first few rows of the
Mus_musculus.GRCm38.75_chr1.gtf
file so they can see what the header rows look like.The text was updated successfully, but these errors were encountered: