ConductScience Sequences
Contents

User guide · Cases

Result files from other programs

Bring the results of a search run outside Sequences into a case.

ColumnField
qaccverQuery
saccverHit
pidentIdentity
lengthAlignment length
mismatchMismatches
gapopenNo field
qstartQuery start
qendQuery end
sstartHit start
sendHit end
evalueE-value
bitscoreScore
Match the columns for a BLAST+ file with no header row, once 6 std is typed under Column names: each column takes its name, and Sequences chooses the field it holds.

You can run a search outside Sequences, such as BLAST+ or FASTA36 on your own computer against the patent sequences, and bring its results into a case. Results of the US patent office's sequence search come in the same way, as office actions print them, so an examiner's searches can sit beside Sequences' own. The import becomes one of the case's searches. It opens in the same results view as any search, with marks, families, dates and the sentences under Why each reference counts.

  1. Choose the file: under Import a result file, in Report
  2. Match the columns: if Sequences does not know them
  3. Import the file: it becomes one of the case's searches
  4. References: lists its references with the others

Sequences reads these files, as they are or gzip compressed:

FileWritten by
BLAST tabular-outfmt 6, with its 12 standard columns, or -outfmt 7, whose # Fields: line names the columns, split by tabs, or by a comma, semicolon or vertical bar set with delim=
BLAST CSV-outfmt 10, with its 12 standard columns and no header row
BLAST XML-outfmt 5
BLAST JSON-outfmt 15
FASTA36 tabular-m 8, with or without its comment lines
US patent office search resultsThe US patent office's sequence search, as office actions print it: protein and DNA searches, among them those that translate DNA
CSVAny program, with a header row and then one row for each match. A CSV file that Sequences saves can come back this way
A table of resultsAny program: split by commas, tabs, semicolons, vertical bars or two or more spaces, with a header row or none. You match its columns before the file uploads

On the command line, blastn runs megablast unless you add -task blastn. Megablast finds close matches and can miss weaker ones. Sequences runs blastn, so add -task blastn when a file should compare like for like with Sequences' own search.

A table whose columns Sequences does not know opens Match the columns before it uploads, and so does a file that a column map you saved fits. A CSV file whose names it knows imports as it is, and Match the columns by hand opens the same step for it, and for other text, such as columns lined up with spaces under a title.

The column names Sequences knows

The names in a CSV header match in any case: qseqid or query, sseqid or subject, pident or identity, length, qstart, qend, sstart, send, evalue, bitscore or score, publication and seq_id_no. Each row needs a subject, or a publication and a SEQ ID NO.

Match the columns
  • Sequences names the delimiter it found and the line of the header row. Columns can be split by commas, tabs, semicolons, vertical bars or two or more spaces: change Columns split at if it is wrong. When a title or notes come before the header, choose its line under Header row.
  • A file whose first line is already a row of results opens with No header row, and its columns are Column 1, Column 2 and so on. For a BLAST+ file, type the -outfmt value it was written with under Column names, such as 6 qseqid sseqid pident evalue bitscore, and each column takes its name.
  • Decimal mark reads numbers written with a decimal comma, such as 98,5. Sequences suggests it from the file.
  • Under each field, choose the column that holds it: Query, Hit, Publication, SEQ ID NO, Identity, Query coverage and Score. A row joins by its hit, or by its publication and SEQ ID NO, so match the hit or both of those. A column fills one field.
  • More fields holds the rest: the kind code, the hit's description, the alignment length, identical residues, mismatches, gaps, the E-value, Query Match, where the alignment starts and ends in the query and the hit, the lengths of the query and the hit, and the strand. A kind code in a column of its own, such as B2, joins with the publication beside it.
  • The table under the fields lists each column with the field it fills and its values in the first rows. A row with more or fewer cells than the header is skipped, and the line above the table names it.
  • Every other column is kept with its row. In the results, a row lists them under From the file, with its line in the file. These results sort by identity.
  • Identity and coverage read as percents. When every identity is 1 or less, the import report says so: multiply the column by 100 and import the file again.
  • The case keeps the map with the import, and the next file with those columns is offered it again.
  • Save this map keeps the map for your account under a name, up to 50 maps. A file it fits opens with it here, even with a title above the header, and the Import page reads such a file by it. Choose a map under Saved map to use it, and Delete map removes it. Saving over a map of the same name, and deleting one, ask first.
  • After the import, Import report under the search says which lines Sequences read and which it skipped, and why, such as a line with fewer cells than the header or the header row again. The case report gives the same, with the map.
  • A file can have up to 1,000 columns.

Try it with demo data. Choose Use demo data under Import a result file. It chooses us12788009b2-blastp.tsv: BLAST+ tabular output for the 16 peptides of US12788009B2 against s1-patent-proteins.fasta. Its rows join where the case's snapshot holds those grants; the rest stay in the results with the reason.

Use a demo CSV, beside it, chooses blastp-demo.csv instead: BLAST+ output for three published proteins, saved as CSV with BLAST+'s own long column names, such as % identity. A CSV with those names opens Match the columns, with each column matched by its name. On a server whose patent sets hold its accessions, 12 of its 14 rows join, and the other 2 name a Swiss-Prot protein that no patent holds.

Guide version 1.91.0 · For Sequences 0.155.0