Last active
January 21, 2020 15:07
-
-
Save jvwong/35f32a38aefeb62d7e7d36c402b418c8 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 | |
# Find row and print columns in tab-delimited file | |
#tax_id GeneID PubMed_ID | |
tax_id=9606 | |
GeneID=9518 | |
grep -Ei "^$tax_id\t$GeneID\t[0-9.]+$" ./data/gene2pubmed > result.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment