Advertisement
ProzacR

realign bam

Dec 10th, 2018
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #https://www.biostars.org/p/326714/
  2. java -jar ~/bin/picard.jar SamToFastq I=/mnt/sdb/seqdata/Vacio-luko_dysl/IonCode_0109_rawlib.basecaller.bam FASTQ=0109_filemap.fq
  3. #turetu buti kazkas tokio:
  4. #@RG\tID:Exome1\tLB:Exome1\tSM:Exome1\tPL:ILLUMINA
  5. bwa mem -t 20 -R '@RG\tID:foo\tSM:bar' /mnt/sdb/references/b37/human_g1k_v37.fasta.gz 0109_filemap.fq > 0109.sam
  6. samtools sort 0109.sam > 0109.bam
  7. samtools index 0109.bam
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement