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

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.

主站蜘蛛池模板: 湖口县| 农安县| 全椒县| 图木舒克市| 将乐县| 东台市| 大渡口区| 福泉市| 三河市| 定襄县| 农安县| 新兴县| 合川市| 邹平县| 商城县| 青浦区| 贵溪市| 革吉县| 铜鼓县| 无锡市| 日土县| 禄劝| 东至县| 专栏| 肥东县| 吉安县| 永吉县| 博乐市| 新巴尔虎右旗| 大荔县| 无极县| 清河县| 余干县| 乌兰浩特市| 汶上县| 美姑县| 尼木县| 大英县| 昭平县| 洛隆县| 桦南县|