Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. # gerar report com a anotação funciona dos genes anotados
  4.  
  5. for cds_quickgo in quickgo/*.go; do
  6. gene_id=$(basename $cds_quickgo | cut -d'.' -f1,2)
  7. go_terms=$(cat $cds_quickgo | tr '\n' ';')
  8. echo -e $gene_id"\t"$go_terms
  9. done > report.tbl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement