Closed lachlansimpson closed 6 years ago
Hi again,
So line 190 of clinker.pipe has the following:
transform("(.*)_R1.fastq.gz","(.*)_R2.fastq.gz") to ("Aligned.sortedByCoord.out.bam") {
Basically it attempts to separate the two common named FASTQ files by their _R1 and _R2 identifier and then use those specifically in the alignment. If your files follow something like:
X_R1_001.fastq.gz and X_R2_001.fastq.gz or X_R1.fastq.gz and X_R2.fastq.gz
Then I would think you could just change the above to something like:
transform("(.*)R1(.*).fastq.gz","(.*)R2(.*).fastq.gz") to ("Aligned.sortedByCoord.out.bam") {
Let me know how you go!
I should also mention that you will need to do this for each stage:
index_bams - line 222 prepare_plot - line 246 plot_fusion - line 271
If you just do a global replace of: "(.)_R1.fastq.gz","(.)_R2.fastq.gz"
To whatever you like, you should get 4 changes.
Seeing this error:
This issue is because our file naming structure doesn't fully follow this pattern - in particular, ours have the pattern:
like:
How might we change the file call to just
(.*).fastq.gz