Hi,
Thanks for your help and quick reply
1.Version: 0.1.18
2.The bam is sorted and indices generated by samtools within Rsem
3.Yes the samtools view definitely works with the bam file
4.This is the output from Picard ValidateSamFile Exception in thread "main" java.lang.IllegalArgumentException: No enum const class net.sf.samtools.SAMFileHeader$SortOrder.unknown at java.lang.Enum.valueOf(Enum.java:196) at net.sf.samtools.SAMFileHeader$SortOrder.valueOf(SAMFileHeader.java:59) at net.sf.samtools.SAMFileHeader.getSortOrder(SAMFileHeader.java:240) at net.sf.picard.sam.SamFileValidator.init(SamFileValidator.java:354) at net.sf.picard.sam.SamFileValidator.validateSamFileVerbose(SamFileValidator.java:133) at net.sf.picard.sam.ValidateSamFile.doWork(ValidateSamFile.java:156) at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:177) at net.sf.picard.sam.ValidateSamFile.main(ValidateSamFile.java:92)
5.I ran exactly this command gdb /path/to/samtools and within gbd run -ugf mgafemalelimitedtrinity.fas turkeyfemalelimited.transcript.sorted.bam
and this is the output Starting program: -ugf mgafemalelimitedtrinity.fas turkeyfemalelimited.transcript.sorted.bam No executable file specified. Use the "file" or "exec-file" command.
Have I entered the command correctly?
Also as a final note, the command samtools mpileup -ugf mgafemalelimitedtrinity.fas turkeyfemalelimited.transcript.sorted.bam runs for a bit but terminates when it reaches a certain contig. But it cannot output this to a file.
Thanks