Open
Description
Currently the only retrieval operation is to create a channel, however that is incompatible with queries based on existing channel. Resolving this issue requires implementation of the following construct:
import {queryToList} from 'plugin/nf-sqldb'
ch_fasta = Channel.fromList(['GRCh38', 'GRCm38'])
.flatMap { refid ->
queryToList( 'SELECT fasta FROM genomes WHERE id = $1', parameters: [ refId ] )
.collect { fa -> [ [id: refId], fa ] }
}
Metadata
Metadata
Assignees
Labels
No labels