You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new optional walltime parameter, terminating blast queries that remain in WAITING status indefinitely. Changed behaviour of NCBI blast queries to terminate on returning undefined status.
Copy file name to clipboardExpand all lines: BlastHTTP.cabal
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ name: BlastHTTP
7
7
-- PVP summary: +-+------- breaking API changes
8
8
-- | | +----- non-breaking API additions
9
9
-- | | | +--- code changes with no API change
10
-
version: 1.1.0
10
+
version: 1.2.0
11
11
synopsis: Libary to interface with the NCBI blast REST interface
12
12
description: Searches for a provided nucleotide or protein sequence with the NCBI Blast REST service and returns a blast result in xml format as BlastResult datatype.
Copy file name to clipboardExpand all lines: src/Bio/BlastHTTP.hs
+49-29Lines changed: 49 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,11 @@
8
8
--
9
9
-- 2. database: Selects the database to be queried against. Example values are refseq_genomic, nr, est,.. Please consider that the database must be chosen in accordance with the blastprogram. Default value: refseq_genomic. Type: Maybe String
10
10
--
11
-
-- 3. querySequence: nucleotides or protein sequence, depending on the blast program used. If no sequence is provided an exception as String will be produced. Type: Maybe SeqData
11
+
-- 3. querySequences: nucleotides or protein sequences, depending on the blast program used. If no sequence is provided an exception as String will be produced. Type: [Sequence]
12
12
--
13
-
-- 4. entrezQuery: This argument is optional and will filter the result if provided. Type: Maybe String
13
+
-- 4. optionalArguments: This argument is optional and will filter the result if provided. Type: Maybe String
14
+
--
15
+
-- 5. optionalWalltime: Optional walltime in mircroseconds. If specified, will terminate the query after reaching the timelimit and return Left. Type: Maybe Int
14
16
--
15
17
-- and returns Either a BlastResult (Right) on success or an exception as String (Left)
16
18
--
@@ -37,7 +39,8 @@ data BlastHTTPQuery = BlastHTTPQuery
0 commit comments