Created
August 29, 2016 01:53
-
-
Save johnsolk/56f704e7af741b1a6880df1a714197ce to your computer and use it in GitHub Desktop.
formatting transcriptome annotations for merging with lists of differentially expressed lists contig ID
This file contains hidden or 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
sed 's_|_-_g' uniprot_sprot.blastx.outfmt6.sig > uniprot_sprot.blastx.outfmt6.fixed.sig | |
cut -f 1,2,17 uniprot_sprot.blastx.outfmt6.fixed.sig > uniprot_sprot.blastx.outfmt6.fixed.genes.sig | |
touch uniprot_P_ast_annotations_mansour_hits100DE.tab | |
for i in $(cut -f 2 P_ast_RNAseq_25pptv35ppt_top100DE.tab); do grep ${i/_/-} uniprot_sprot.blastx.outfmt6.fixed.genes.sig >> uniprot_P_ast_annotations_mansour_hits100DE.tab; done | |
sed 's/\-/\_/1' uniprot_P_ast_annotations_mansour_hits100DE.tab > uniprot_P_ast_annotations_mansour_hits100DE.fixed.tab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment