官术网_书友最值得收藏!

There's more...

Although we will discuss data filtering in the Studying genome accessibility and filtering SNP data recipe in this chapter, it's not our objective to explain the SAM format in detail or give a detailed course in data filtering. This task will require a book of its own, but with the basics of pysam, you can navigate through SAM/BAM files. However, in the last recipe of this chapter, we will take a look at extracting genome-wide metrics from BAM files (via annotations on VCF files that represent metrics of BAM files) for the purpose of understanding the overall quality of our dataset.

You will probably have very large data files to work with. It's possible that some BAM processing will take too much time. One of the first approaches to reduce the computation time is subsampling. For example, if you subsample at 10 percent, you ignore 9 records out of 10. For many tasks, such as some of the analysis done for the quality assessment of BAM files, subsampling at 10 percent (or even 1 percent) will be enough to get the gist of the quality of the file.

If you use human data, you may have your data sequenced at Complete Genomics. In this case, the alignment files will be different. Although Complete Genomics provides tools to convert to standard formats, you might be served better if you use their own data.

主站蜘蛛池模板: 兴海县| 剑川县| 南京市| 怀仁县| 万山特区| 浑源县| 杭州市| 林周县| 前郭尔| 公主岭市| 道孚县| 台湾省| 绥阳县| 滁州市| 宜春市| 竹溪县| 浏阳市| 水城县| 祁阳县| 水城县| 武穴市| 德化县| 闽侯县| 田阳县| 岳阳市| 双流县| 马尔康县| 芷江| 广州市| 黄山市| 绥棱县| 新龙县| 新巴尔虎右旗| 新津县| 宁德市| 堆龙德庆县| 张北县| 石狮市| 临沂市| 永寿县| 宁夏|