![]() |
Can I view output the entire genome data?
Suppose I have a sam file?
Can I use samtools command to get whole genome data? Thanks. |
Could you describe what "whole genome data" means?
|
If we use samtools, we can select chromosome.
The entire means from chr1 to chr 23. |
By default, samtools view will convert the whole .sam file into a .bam. Just don't add a chromosome name to the command line, and you'll get everything.
|
Can we identify the start and the end position?
I just guess that start from 0 and end with a big number. |
If you want the whole thing then don't add start or end positions. From reading the man page, I gather that specifying start and end positions without indicating an actual chromosome would confuse things.
|
to get everything just:
Code:
samtools view .bam Code:
samtools view -h .bam Code:
samtools view -S .sam Code:
samtools view -S .sam chr1:0-1000000 |
All times are GMT -8. The time now is 08:03 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.