Skip to content

Class: AlignmentTarget

Where a hit aligns on the thing it matched, such as a Pfam model or a reference protein, in that thing's own positions. GFF3 writes this as the Target and Gap tags.

URI: bfs:class/AlignmentTarget

 classDiagram
    class AlignmentTarget
    click AlignmentTarget href "../../classes/AlignmentTarget/"
      AlignmentTarget : gap

      AlignmentTarget : target_end

      AlignmentTarget : target_id

      AlignmentTarget : target_start

      AlignmentTarget : target_strand





        AlignmentTarget --> "0..1" StrandEnum : target_strand
        click StrandEnum href "../../enums/StrandEnum/"



Slots

Name Cardinality and Range Description Inheritance
target_id 1
String
What the hit aligned to, as the source names it, such as a Pfam accession or ... direct
target_start 1
Integer
First aligned position on the target, one-based and inclusive direct
target_end 1
Integer
Last aligned position on the target, one-based and inclusive direct
target_strand 0..1
StrandEnum
Strand of the alignment on the target, when the target is a nucleotide sequen... direct
gap 0..1
String
The alignment in GFF3 Gap form, a CIGAR-like string of operations and lengths direct

Usages

used by used in type used
SequenceFeature target range AlignmentTarget

Notes

  • Added for https://github.com/turbomam/feature-table-corpus/issues/94. A hit's own start, end and seqid say where it lies on the query protein (docs/protein-coordinates.md); this says where on the target. nmdc-pfam-protein fills it from HMMER's model_start and model_end, which all 416 rows of the vendored NMDC Pfam file carry, with the Pfam accession as target_id. The generic attributes stay as they are.

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self bfs:AlignmentTarget
native bfs:AlignmentTarget

LinkML Source

Direct

name: AlignmentTarget
description: Where a hit aligns on the thing it matched, such as a Pfam model or a
  reference protein, in that thing's own positions. GFF3 writes this as the Target
  and Gap tags.
notes:
- Added for https://github.com/turbomam/feature-table-corpus/issues/94. A hit's own
  start, end and seqid say where it lies on the query protein (docs/protein-coordinates.md);
  this says where on the target. nmdc-pfam-protein fills it from HMMER's model_start
  and model_end, which all 416 rows of the vendored NMDC Pfam file carry, with the
  Pfam accession as target_id. The generic attributes stay as they are.
from_schema: https://w3id.org/ber-data/feature-schemas
slots:
- target_id
- target_start
- target_end
- target_strand
- gap

Induced

name: AlignmentTarget
description: Where a hit aligns on the thing it matched, such as a Pfam model or a
  reference protein, in that thing's own positions. GFF3 writes this as the Target
  and Gap tags.
notes:
- Added for https://github.com/turbomam/feature-table-corpus/issues/94. A hit's own
  start, end and seqid say where it lies on the query protein (docs/protein-coordinates.md);
  this says where on the target. nmdc-pfam-protein fills it from HMMER's model_start
  and model_end, which all 416 rows of the vendored NMDC Pfam file carry, with the
  Pfam accession as target_id. The generic attributes stay as they are.
from_schema: https://w3id.org/ber-data/feature-schemas
attributes:
  target_id:
    name: target_id
    description: What the hit aligned to, as the source names it, such as a Pfam accession
      or a reference gene ID.
    title: Target ID
    from_schema: https://w3id.org/ber-data/feature-schemas
    rank: 1000
    owner: AlignmentTarget
    domain_of:
    - AlignmentTarget
    range: string
    required: true
  target_start:
    name: target_start
    description: First aligned position on the target, one-based and inclusive.
    title: Target start
    from_schema: https://w3id.org/ber-data/feature-schemas
    rank: 1000
    owner: AlignmentTarget
    domain_of:
    - AlignmentTarget
    range: integer
    required: true
    minimum_value: 1
  target_end:
    name: target_end
    description: Last aligned position on the target, one-based and inclusive.
    title: Target end
    from_schema: https://w3id.org/ber-data/feature-schemas
    rank: 1000
    owner: AlignmentTarget
    domain_of:
    - AlignmentTarget
    range: integer
    required: true
    minimum_value: 1
  target_strand:
    name: target_strand
    description: Strand of the alignment on the target, when the target is a nucleotide
      sequence.
    title: Target strand
    from_schema: https://w3id.org/ber-data/feature-schemas
    rank: 1000
    owner: AlignmentTarget
    domain_of:
    - AlignmentTarget
    range: StrandEnum
  gap:
    name: gap
    description: The alignment in GFF3 Gap form, a CIGAR-like string of operations
      and lengths.
    title: Gap
    from_schema: https://w3id.org/ber-data/feature-schemas
    exact_mappings:
    - gff3:Gap
    rank: 1000
    owner: AlignmentTarget
    domain_of:
    - AlignmentTarget
    range: string