You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use a list of gene ids to get FASTA formats of the proteins coded in those genes and the mRNA sequence without introns.
So far with this command I can get the protein sequence:
os.system('esearch -db gene -query "'+ "102888688" + ' [ID]" | elink -target protein -name gene_protein_refseq -cmd neighbor | xtract -pattern LinkSet -block IdList -element Id -block LinkSetDb -element Id | efetch -db protein -format fasta')
With this command I can get the mRNA with introns, which I don't want:
os.system('elink -db gene -id ' + "102888688" + ' -target nuccore -name gene_nuccore_refseqrna | efetch -format fasta')
The text was updated successfully, but these errors were encountered:
Hi everyone,
I would like to use a list of gene ids to get FASTA formats of the proteins coded in those genes and the mRNA sequence without introns.
So far with this command I can get the protein sequence:
os.system('esearch -db gene -query "'+ "102888688" + ' [ID]" | elink -target protein -name gene_protein_refseq -cmd neighbor | xtract -pattern LinkSet -block IdList -element Id -block LinkSetDb -element Id | efetch -db protein -format fasta')
With this command I can get the mRNA with introns, which I don't want:
os.system('elink -db gene -id ' + "102888688" + ' -target nuccore -name gene_nuccore_refseqrna | efetch -format fasta')
The text was updated successfully, but these errors were encountered: