Comments (4)
Well spotted! It's a good point that I didn't think of. Thank you!
But your solution misses this type of file naming: {wildcards.sample}.something_else.f*q.gz
. And this is the reason I put a *
after {wildcards.sample}
. But now I see the issue caused by the *
.
I don't have a better solution so far. I've posted the question on StackExchange
Let's see whether we can get a better solution.
from rasflow.
Got some kind suggestions from StackExchange. I found shopt -s extglob
very simple and useful. Could you try it out to see if it works for you?
rule getReads:
output:
read = temp(intermediate_path + "/reads/{sample}.fastq.gz")
params:
key = key,
input_path = input_path
shell:
"""
shopt -s extglob
scp -i {params.key} {params.input_path}/{wildcards.sample}?(.*).f*q.gz {output.read}
"""
from rasflow.
from rasflow.
Fixed with commit
from rasflow.
Related Issues (20)
- Strange problem with shopt -s extglob (related to issue #13) HOT 1
- How can I change default FDR treshold in DEA module? HOT 1
- Issue with environment creation on macOS Big Sur HOT 2
- BAM sorting error HOT 3
- DEA error and visualisation. HOT 4
- Gtf file format error HOT 2
- Multiple comparison with 2 treatments HOT 2
- DEA error HOT 1
- Show top 50 or 100 genes on heatmap HOT 2
- DEA error HOT 3
- reverse is reserved for internal use error HOT 1
- htseq-count test data error HOT 3
- transcriptome analysis HOT 1
- Can't run the examples HOT 3
- Error in fastqc HOT 1
- raw counts HOT 3
- Unable to render code block when opening Tutorial.pdf HOT 1
- process was be killed, ram is not enough. HOT 6
- multiQC conflicts in conda install HOT 3
- Cannot get to my files HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rasflow.