marbl / gingr

Other
13 stars 5 forks source link

Do I have to rename my .ALN and .AFA files to import them? #1

Closed tseemann closed 9 years ago

tseemann commented 10 years ago

My core SNP alignment files (aligned FASTA) are usually named with .aln or .afa extension but 'gingr' seems to be a bit controlling with file extensions it will allow with the File::Open dialogue box.

Any change you can add these extensions?

ondovb commented 10 years ago

Yes, they currently need a .mfa, .fa, or .fna extension and need to be opened from the Import Alignment dialog. Other extensions can easily be added in the next version. The File::Open dialog, however, is specifically for Gingr workspace files (this can also be more clearly labelled in the next version).

aphillippy commented 10 years ago

For single files, I suggest we simplify things to a single open dialog without suffix restrictions that auto determines the file type. If file type is unclear, a dialog can pop asking the user to choose a supported type. If a file type is chosen that requires simultaneous loading of a reference file, the interface should prompt for that as well. Suggest emulating how a tool like Geneious handles loading alignments.

ondovb commented 10 years ago

The extensions .aln and .afa are added to Import Alignment (MFA) in v1.0.1

ondovb commented 9 years ago

Arbitrary extensions are now also supported via the Import window in v1.1.