Thanks JC,
I think you have already answered my questions but I just want to confirm.
a) You said unmapped reads are discarded by GATK/samtools from the analysis so it doesnt matter if you have those reads in your input bam files. I think that one can also control the MAPQ of the reads to be used using samtools -M capMapQ parameter. But what about reads that are improperly paired including reads reads belonging to a pair but mapped on different chromosomes. If I include such reads in bam files, I dont want GATK/samtools to use these reads.Do you think I need to discard such read pairs or samtools or GATK will be able to take care of this thing.
In case we need to select the reads manually.
b) I went to http://picard.sourceforge.net/explain-flags.html and came up with these FLAG values for the reads I think that will be relevant for my analysis (paired end illumina reads) :
99 - read paired, read mapped in proper pair, mate reverse strand, first in pair 163 - read paired, read mapped in proper pair, mate reverse strand, second in pair 73 - read paired, mate unmapped, first in pair 137 - read paired, mate unmapped, second in pair
c) I assume, I will have to still keep the original bam file (with all the reads) with me as some tools like Dindel ask you to give both mapped and unmapped reads belonging to a pair as input so that it can try split read method to find indels.
Thanks,
Ash
In general you should try to verify the optimal requirements for each of the tools. The rule of the thumb is that there are no default filtering options, one man's trash is the other's treasure. For example incorrectly paired reads could also indicate inversions or other structural variations.