Hi again, thanks for the suggestion. When I tried to run this in loop for the list of 1900 genes it didnot work the way I wanted.
#!/bin/bash
cat /home/softwares/genelist.txt |
while read line
do
esearch -db gene -query "$line [TITLE] AND Salmo salar [ORGN]" | esummary | grep -w "Name" 2>&1 | tee log-gene.txt
done
it gave me gene symbol for first line only. But if i remove TITLE and ORGN information it seems like working. what do you think wrong here?
Can you give some examples? And which organism is this?
For example, I have "full gene name" called "sulfatase 1". Gene symbol for that is SULF1. I have 2000 such full names. Organism I am working on is salmon.