BP_DOW...GENBANK(1p)

πŸ“¦
version 1.7.8 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

🌸 NAME 🌸

bp_download_query_genbank β€” it's a script that queries Genbank and pulls records for you, bestie πŸ’–

Okay so this is a Perl script (from the User Contributed Perl Documentation collection, manual page BP_DOW...GENBANK(1p), iykyk) and it does exactly what it says on the tin: you give it a query, it goes and asks Genbank for the records, and it hands them back. Literally that simple. Slay. ✨


πŸŽ€ USAGE πŸŽ€

Two ways to run it, both iconic:

bp_download_query_genbank --query "Neurospora[ORGN]" --db nucest -o Ncrassa_ESTs.fa --format fasta

bp_download_query_genbank --queryfile 'filewithquery' --db nucest -o Ncrassa_ESTs.fa --format fasta

πŸ’… Other options

Provide ONE of these β€” like, pick one, not all three, okay? 🫢

  • -q, --query query string β€” OR
  • --queryfile profile file with query β€” OR
  • --gi, --gis, --gifile file with list of GIs to download

Database type:

  • -d, --db database β€” the choices are nucleotide [this is the default], nucest, protein, )

Then the output-y ones:

  • -o, --out, --outfile output file β€” and if you don't give one? Results just get displayed on screen instead πŸ™ˆ
  • -f, --format sequence file output format β€” fasta by default, no cap
  • -v, --verbose β€” debugging output, for when you need to see everything πŸ‘‘

πŸ¦‹ Query options

  • --maxids β€” maximum number of IDs to retrieve in a set (it's 100 at a time by default)
  • --reldate
  • --maxdate β€” maxdate for a record
  • --mindate β€” minimum date for record
  • --datetype β€” edat or mdat (entered or modified)

πŸ‘‘ AUTHOR πŸ‘‘

Jason Stajich β€” Jason Stajich, jason-AT-bioperl.org πŸ’œ


That's the whole vibe, bestie. Go download some sequences. Periodt. πŸ’…βœ¨

This page is perl v5.36.0, dated 2023-12-17 β€” so yeah, she's got a lil vintage energy but she's still serving πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from