parallel-fastq-dump | parallel fastq-dump wrapper | Genomics library
kandi X-RAY | parallel-fastq-dump Summary
kandi X-RAY | parallel-fastq-dump Summary
parallel fastq-dump wrapper
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of parallel-fastq-dump
parallel-fastq-dump Key Features
parallel-fastq-dump Examples and Code Snippets
rule all:
input: expand("out/{sample}_fastq.gz", sample=samples)
rule download_sample:
output:
"out/{sample}_fastq.gz"
params:
outdir = "out",
threads = 16
priority:85
shell:"parallel-fastq-dum
Community Discussions
Trending Discussions on parallel-fastq-dump
QUESTION
I have a scenario where the output filenames of a program are not consistent and hence I am having difficulty defining snakemake rules.
I am retrieving data from SRA and I do not know if the program will return 1 file or 2 files
Here are the 2 situations :
Situation 1
...ANSWER
Answered 2019-Jun-15 at 08:08One solution may be to touch a file when fastq-dump has completed and use that file as input to the other rules.
In the case you posted, the name of the actual fastq files can be reconstructed from the SRR id and you can tell whether you have 1 or 2 fastq files based on the suffix _1.fastq.gz
or _2.fastq.gz
.
Here's an example:
QUESTION
I am pretty new to using Snakemake and I have looked around on SO to see if there is a solution for the below - I am almost very close to a solution, but not there yet.
I have a single column file containing a list of SRA ids and I want to use snakemake to define my rules such that every SRA id from that file becomes a parameter on command line.
...ANSWER
Answered 2019-Jun-11 at 06:42The first solution could be to use the run:
section of the rule instead of the shell:
. This allows you to employ python code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install parallel-fastq-dump
You can use parallel-fastq-dump like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page