Entering edit mode
                    3.4 years ago
        Alewa
        
    
        ▴
    
    190
    extracting protein sequences from ncbi using entrez in terminal but keep getting error
/home/$USER/edirect/ecommon.sh: xrealloc: cannot allocate 18446744071589123328 bytes (42668032 bytes allocated)
command used
$esearch -db gene -query 'Mycobacterium tuberculosis H37Rv[Organism] AND NC_000962.3[ACCN]' | elink -db gene -target protein | efilter -organism Mycobacterium tuberculosis H37Rv -source refseq | efetch -format protein_fasta > test_elink_tb
thanks
Thanks @GenoMax, that works! do you know the memory issue was happening?