Description Usage Arguments Examples
View source: R/bamTofastqPicard.R
This function converts BAM files to FASTQ files using GATK4 SamToFastq. Type of BAM file (paried or single) is detected automatically.
1 2 3 4 5 6 7 8 9 | bamTofastqPicard(
bam,
ref,
out_path,
threads,
gatk4 = "/imppc/labs/lplab/share/bin/gatk-4.1.3.0/gatk",
sambamba = "sambamba",
samtools = "samtools"
)
|
bam |
Bam file to carry the analysis. |
ref |
Path for the reference genome to use for the alignment (fasta format) and the corresponding indexes generated with bwa index and a dictionary index file generated by CreateSequenceDictionary gatk tool. |
out_path |
Path where the output of the analysis will be saved. |
threads |
Number of threads to use in the analysis. |
gatk4 |
Path of GATK4 binary. |
sambamba |
Path of sambamba binary |
samtools |
Path of samtools binary. |
1 2 3 4 5 6 7 | ## Not run:
bamTofastqPicard(bam = 'raw/sample.bam',
ref = 'ref/hg38.fa',
out_path = 'rst',
threads = '2')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.