This file is indexed.

/usr/share/hyphy/UserAddins/GenBankSequences is in hyphy-common 2.2.7+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ExecuteAFile 	(HYPHY_LIB_DIRECTORY+"TemplateBatchFiles"+DIRECTORY_SEPARATOR+"Utility"+DIRECTORY_SEPARATOR+"ReadDelimitedFiles.bf");
fprintf (stdout, "\nComma separated list of accession numbers:");
fscanf	(stdin,"String",accessions);

acList = splitOnRegExp (accessions, "\\,");

allSeqs = "";
allSeqs * 128;

for (aSeq = 0; aSeq < Abs (acList); aSeq = aSeq + 1)
{
	currentAC = acList[aSeq];
	fprintf (stdout, "Working on ", currentAC, "\n");
	theURL = "http://www.ncbi.nlm.nih.gov/nuccore/" + currentAC;
	GetURL  (theData,theURL);
	obtainGI = theData$("gi\\|([0-9]+)\\|gb");
	if (obtainGI[0]>=0)
	{
		obtainGI = theData[obtainGI[2]][obtainGI[3]];
		fprintf (stdout, "=>", obtainGI, "\n");
		
		theURL = "http://www.ncbi.nlm.nih.gov/sviewer/viewer.fcgi?tool=portal&amp;db=nuccore&amp;val="+obtainGI+"&amp;dopt=fasta&amp;sendto=on&amp;log$=seqview";
		GetURL  (theData,theURL);
		allSeqs * (theData + "\n");
		
	}
}

allSeqs * 0;

SetDialogPrompt ("Save FASTA to:");
fprintf (PROMPT_FOR_FILE, CLEAR_FILE, allSeqs);