Hi All,
I have some whole genome sequencing data that were generated from illumina hiseq platform.
as a first step, I will align the fastq file to a reference genome. Can I use Rsubread for that? I have used it for RNAseq mapping before and it was very good, I got 90% of the read were mapped to the ref genome. Does BWA have any advantage as compared to Rsubread.
Thanks
Tarek
Hi Wei,
Thanks for your reply.
I am processing whole genome sequencing data, following to alignment, I want to call SNPs within different samples (100 samples). SNP data will be used to perform a downstream GWAS.
DO you think I can use exactSNP() to call SNPs or shall I stick to GATK.
Thanks
Tarek
I cant see why you can not use exactSNP.
Hi Wei,
I tried this with the unzipped file and it returns
*** caught segfault ***
address 0x7fff9a688000, cause 'memory not mapped'
Thanks
Tarek
Can you provide the full screen output?
>library(Rsubread)
> setwd("/projects/b1042/BurridgeLab/rnaseq_rarg")
>exactSNP(SNPAnnotationFile="All_20151104.vcf",readFile="subread_jg4.sam",isBAM=FALSE,refGenomeFile="BSgenome.Hsapiens.NCBI.GRCh38.fasta",outputFile="subread_jg4.sam.vcf",nthreads=40)
//====================== Running (08-Sep-2016 11:52:33) ======================\\
|| ||
|| WARNING format issue in file 'subread_jg4.sam': ||
|| The required format is : SAM ||
|| The real format seems to be : BAM ||
|| A wrong format may result in wrong results or crash the program. ||
|| Please refer to the manual for file format options. ||
|| If the file is in the correct format, please ignore this message. ||
|| ||
|| WARNING format issue in file 'BSgenome.Hsapiens.NCBI.GRCh38.fasta': ||
|| The required format is : SAM ||
|| The file format is unknown. ||
|| A wrong format may result in wrong results or crash the program. ||
|| Please refer to the manual for file format options. ||
|| If the file is in the correct format, please ignore this message. ||
|| ||
|| Split SAM file into ./temp-snps-003575-58311A9F-* ... ||
*** caught segfault ***
address 0x7fff9598f000, cause 'memory not mapped'