Skip to main content
added 79 characters in body
Source Link
0x90
  • 1.4k
  • 10
  • 21

I couldn't make it work with bedtools, because my genome's index file is corrupted, but this should work for others who have successfully used bwa or samtools to index their reference genome:

I couldn't make it work with bedtools, because my genome's index file is corrupted, but this should work for others:

I couldn't make it work with bedtools, because my genome's index file is corrupted, but this should work for others who have successfully used bwa or samtools to index their reference genome:

added 410 characters in body; edited tags
Source Link
0x90
  • 1.4k
  • 10
  • 21

I couldn't make it work with bedtools, because my genome's index file is corrupted, but this should work for others:

blat -stepSize=5 -repMatch=2253 -minScore=20 -minIdentity=0 -out=pslx /genomes/mm10.fa.qz query.fa output.pslx
awk 'NR>5 {print $14 "\t" $16-10"\t" $17+10}' output.pslx > regions.bed
bedtools getfasta -fi /genomes/mm10.fa.gz -bed regions.bed

I couldn't make it work with bedtools, because my genome's index file is corrupted, but this should work for others:

blat -stepSize=5 -repMatch=2253 -minScore=20 -minIdentity=0 -out=pslx /genomes/mm10.fa.qz query.fa output.pslx
awk 'NR>5 {print $14 "\t" $16-10"\t" $17+10}' output.pslx > regions.bed
bedtools getfasta -fi /genomes/mm10.fa.gz -bed regions.bed
added 1 character in body
Source Link
0x90
  • 1.4k
  • 10
  • 21

blat -stepSize=5 -repMatch=2253 -minScore=20 -minIdentity=0 -out=pslx /genomes/mm10.2bitfa.qz query.fa output.pslx

blat -stepSize=5 -repMatch=2253 -minScore=20 -minIdentity=0 -out=pslx /genomes/mm10.2bit query.fa output.pslx

blat -stepSize=5 -repMatch=2253 -minScore=20 -minIdentity=0 -out=pslx /genomes/mm10.fa.qz query.fa output.pslx

added 63 characters in body
Source Link
0x90
  • 1.4k
  • 10
  • 21
Loading
Source Link
0x90
  • 1.4k
  • 10
  • 21
Loading