Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastq naming scheme is hard-coded #9

Open
messersc opened this issue Nov 12, 2018 · 1 comment
Open

fastq naming scheme is hard-coded #9

messersc opened this issue Nov 12, 2018 · 1 comment

Comments

@messersc
Copy link

Hi,

this one is not urgent, but it's probably not a good idea to hard code the fastq naming scheme clinker expects.


================================== Stage plot_fusion (SRR) ==================================
ERROR: Unable to locate one or more specified inputs from pipeline with the following extension(s):

(.*)_R1.fastq.gz 

Quick workaround in case someone needs to change this, make sure to put a pattern that matches your files.

diff --git a/workflow/clinker.pipe b/workflow/clinker.pipe
index de19687..2eaa405 100644
--- a/workflow/clinker.pipe
+++ b/workflow/clinker.pipe
@@ -451,7 +451,8 @@ prepare_plot = {
 
        for(fusion_name in fusion){
                from("*.fastq.gz") {
-                       transform("(.*)_R1.fastq.gz","(.*)_R2.fastq.gz") {
+                       transform("(.*)_1.fastq.gz","(.*)_2.fastq.gz") {
+                       // transform("(.*)_R1.fastq.gz","(.*)_R2.fastq.gz") {
 
                                // Setup Stage 
                                fusion_friendly = fusion_name.replaceAll(":", "_") // allows for windows compatiability
@@ -473,7 +474,8 @@ plot_fusion = {
 
        for(fusion_name in fusion){
                from("*.fastq.gz") {
-                       transform("(.*)_R1.fastq.gz","(.*)_R2.fastq.gz") to ("${fusion_friendly}.pdf") {
+                       transform("(.*)_1.fastq.gz","(.*)_2.fastq.gz") {
+                       // transform("(.*)_R1.fastq.gz","(.*)_R2.fastq.gz") {
 
                                // Setup Stage
                                fusion_friendly = fusion_name.replaceAll(":", "_") //allows for windows compatiability
@breons
Copy link
Contributor

breons commented Nov 12, 2018

Thanks Clemens, I'll work this in to the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants