in reply to Re: How to use Convert::ASN1 ?
in thread How to use Convert::ASN1 ?

This is file description:
The format of a Tag is as follow: Identifr Filler Length Data Where Identifier : A 3 bytes long number uniquely identifies the Tag Filler : A filler of with value H’81 is inserted at position + on condition number of data bytes sent in the AXE signal is odd. Length : is the number of taaged data in bytes. Data : is the actual data in the tag Identifier Filler Length_of_data <data> 9FA10B - 00 <data> 9FA001 81 03 <data> 9FBF7B 81 0F <data> 9FBF7D 81 00-0F <data> 9FBE00 - 0E <data> 9FBE00 - 0E <data> 9FBE1A 81 00-0F <data> 9FBE1B 81 00-0F <data> 9FBE1C 81 00-0F <data> 9FBE1D 81 00-0F <data> 9FA016 81 00-02 <data> 9FBE19 81 00-0E <data> 9FA10B - 00 <data> 9FBE00 - 02 <data> 9FBE01 81 0F <data> 9FBE19 81 01-0E <data> 9FBE1B 81 01-11 <data> 9FA10B - 00 <data> 9FA001 81 03 <data>

Replies are listed 'Best First'.
Re^3: How to use Convert::ASN1 ?
by BrowserUk (Patriarch) on Sep 17, 2008 at 07:54 UTC

    Wherever you are obtaining your ASN.1 dataset, should also supply you with or make available to you, an ASN.1 description (template) of the format of the data within that dataset.

    For example, if you are downloading .aso files from NCBI, then somewhere within their site/ftp there will be a file containing the ASN.1 description that looks something like this one. In that same directory there are several other .prt files, one of which would form the the input to Convert::ASN1 (or possibly better, Bio::ASN1::Sequence), if they are the source of your dataset.

    Reverse engineering an ASN.1 description based upon the limited information you've provided above (where did that come from?) is iffy at best.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.