geofetch
is a command-line tool that does two things when given one or more GEO/SRA accessions:
You can use it with the sra_convert pipeline, a pypiper pipeline that converts SRA files into BAM files.
pip install geofetch
Now, run it on the command line:
geofetch --help
Next, check out the usage reference, or for a detailed walkthrough, head on over to the tutorial.