find path/to/dir -type f -name "S*.vcf.gz" > jeter.list
nextflow run --vcfs ${PWD}/jeter.list biostar9526718.nf
add -C config.cfg toconfigure your cluster config....
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <ctype.h> | |
| #define MAX_SEQ_LENGTH 100 | |
| static char compl(char c) { | |
| switch(c) { | |
| case 'A': return 'T'; |
| nextflow.enable.dsl=2 | |
| params.vcf="" | |
| workflow { | |
| picard = downloadPicard() | |
| samples_ch = vcf2samples(params.vcf).splitCsv(header: false,sep:'\t',strip:true) | |
| pair_ch = samples_ch.combine(samples_ch).filter{T->!T[1].equals(T[3])} | |
| concordances_ch = concordance(picard,pair_ch) |
| nextflow.enable.dsl=2 | |
| /* full path to query directory */ | |
| params.qdir="/DIR1" | |
| /* full path to target/database directory */ | |
| params.tdir="/DIR2" | |
| workflow { |
| #!/bin/bash | |
| # https://git.521000.bestmunity/t/how-to-create-full-release-from-command-line-not-just-a-tag/916/2 | |
| if [ "$#" -ne 2 ]; then | |
| echo "Expected: 'version' 'message'" | |
| exit -1 | |
| fi |
| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2021 Pierre Lindenbaum | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| $ time java -jar cromwell-57.jar run jeter.wdl | |
| [2021-02-24 18:43:16,75] [info] Running with database db.url = jdbc:hsqldb:mem:43a7a2b5-d8e7-4129-a9d5-c939dbf31ddf;shutdown=false;hsqldb.tx=mvcc | |
| [2021-02-24 18:45:41,45] [info] Running migration RenameWorkflowOptionsInMetadata with a read batch size of 100000 and a write batch size of 100000 | |
| [2021-02-24 18:45:42,04] [info] [RenameWorkflowOptionsInMetadata] 100% | |
| [2021-02-24 18:45:44,94] [info] Running with database db.url = jdbc:hsqldb:mem:f57101ad-0a60-4bc1-947f-efb7610b1497;shutdown=false;hsqldb.tx=mvcc | |
| [2021-02-24 18:45:55,25] [info] Slf4jLogger started | |
| [2021-02-24 18:45:58,25] [info] Workflow heartbeat configuration: | |
| { | |
| "cromwellId" : "cromid-3d07b24", |
| *.o | |
| *.so | |
| *~ | |
| gawk-* |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Sequence Braiding</title> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> |
| PREFIX=20201006.DSL2 | |
| OUTDIR=work | |
| all: main.nf $(OUTDIR)/jeter.fastqs.list | |
| mkdir -p $(OUTDIR) | |
| nextflow run -with-dag workflow.dot -with-report -with-timeline -with-trace -resume \ | |
| -work-dir "$(OUTDIR)" \ | |
| --fastqs $(OUTDIR)/jeter.fastqs.list \ | |
| $< | |
| @echo "output is $(OUTDIR)" |