Skip to content

Commit e3e9fa3

Browse files
matthdsmnvnieuwk
andauthored
Update src/main/groovy/nfcmgg/plugin/CmggExtension.groovy
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
1 parent fe83d08 commit e3e9fa3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/groovy/nfcmgg/plugin/CmggExtension.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,23 @@ class CmggExtension extends PluginExtensionPoint {
3131
/*
3232
* Parse first line of a FASTQ file, return the flowcell id and lane number.
3333
*/
34+
@Function
3435
String flowcellLaneFromFastq(Path path) {
3536
return nfcmgg.plugin.utils.FastqUtils.flowcellLaneFromFastq(path)
3637
}
3738

3839
/*
3940
* Get first line of a FASTQ file
4041
*/
42+
@Function
4143
String readFirstLineOfFastq(Path path) {
4244
return nfcmgg.plugin.utils.FastqUtils.readFirstLineOfFastq(path)
4345
}
4446

4547
/*
4648
* Add readgroup to meta and remove lane
4749
*/
50+
@Function
4851
List addReadgroupToMeta(Map meta, List<Path> files, Map params) {
4952
return nfcmgg.plugin.utils.FastqUtils.addReadgroupToMeta(meta, files, params)
5053
}

0 commit comments

Comments
 (0)