Created
January 20, 2017 11:46
-
-
Save wbazant/d617f1a2b37fdf51a545d4aa3b235fff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Look at the header of the file, splay it into lines, then use grep -n to find out the position it's in | |
head -n1 $ATLAS_FTP/bioentity_properties/ensembl/mus_musculus.ensgene.tsv | tr '\t' '\n' | grep -n mgi_id | cut -f 1 -d : | |
#16 | |
head -n1 $ATLAS_PROD/bioentity_properties/ensembl/mus_musculus.ensgene.tsv | tr '\t' '\n' | grep -n mgi_id | cut -f 1 -d : | |
#16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment