For those of you using scripts to download GFF3 from sequences, I had a user ask about ways to do this programmatically over an entire sequence or organism (as opposed to indicating individual servers).
I had a few answers that I thought I’d share, but all rely on using the existing web services:
arrow io write_downloadable --export_type GFF3 Merlin2
{
"uuid": "1f805f46-3e30-4941-9032-192b1d6fecbc",
"exportType": "GFF3",
"seqType": "peptide",
"format": "text",
"filename": "Annotations.gff3"
}
arrow io download —output_format text 1f805f46-3e30-4941-9032-192b1d6fecbc > annotations.gff
2 - Conversely, I have a shell and a groovy script that do this, as well:
I don’t hav a reciprocal example in a shell script, but “getGff3.sh” is close. I’m sure you can adapt the groovy to do something similar.
3 - Roll your own over the existing web services:
Specifically the IO and Annotation / getGff3 services.
Cheers,
Nathan