gear-genomics / dicey

In-silico PCR, primer design and padlock design for in-situ sequencing
https://www.gear-genomics.com/
GNU General Public License v3.0
47 stars 4 forks source link

Support symlinks? #5

Open kevinlul opened 2 years ago

kevinlul commented 2 years ago

Dicey could support symlinks for some regular inputs instead of just regular files. For example, this would allow a symlinked assembly or indices for that assembly to be used for dicey search, and also process substitution could be used to send the input sequences fasta from standard input or the output of another application:

dicey search  -i /etc/primer3_config -g symlink.fa.gz <(echo "FASTA here)

Relevant lines: https://github.com/gear-genomics/dicey/blob/main/src/silica.h#L300 https://github.com/gear-genomics/dicey/blob/main/src/silica.h#L363