The sgRNA read count file will be used in -k parameter in the test or run sub-command.
The read count file should list the names of the sgRNA, the gene it is targeting, followed by the read counts in each sample. Each item should be separated by the tab ('\t'). A header line is optional. For example:
sgRNA gene HL60.initial KBM7.initial HL60.final KBM7.final
A1CF_m52595977 A1CF 213 274 883 175
A1CF_m52596017 A1CF 294 412 1554 1891
A1CF_m52596056 A1CF 421 368 566 759
A1CF_m52603842 A1CF 274 243 314 855
A1CF_m52603847 A1CF 0 50 145 266
The count sub-command will output the read count file like this.
The index of the sample is the order it appears in the sgRNA read count file, starting from 0. The index is used in the -t/--treatment-id, -c/--control-id parameters. In the example above, there are four samples, and the index of each sample is as follows:
| sample | index |
|---|---|
| HL60.initial | 0 |
| KBM7.initial | 1 |
| HL60.final | 2 |
| KBM7.final | 3 |
When starting from fastq files, MAGeCK needs to know the sgRNA sequence and its targeting gene. Such information is provided in the sgRNA library file, and can be specified by the -l/--list-seq option in run or count subcommand.
There are three columns in the library file: the sgRNA ID, the sequence, and the gene it is targeting. One example of the library file is provided as library.txt in demo2:
s_10007 TGTTCACAGTATAGTTTGCC CCNA1
s_10008 TTCTCCCTAATTGCTTGCTG CCNA1
s_10027 ACATGTTGCTTCCCCTTGCA CCNC
The sgRNA/gene mapping file will be used in the --gene-test parameter in the test or run sub-command.
This file should list the names of the sgRNAs and their corresponding genes, separated by the tab ('\t'). For example:
A1CF_m52595977 A1CF
A1CF_m52596017 A1CF
A1CF_m52596056 A1CF
A1CF_m52603842 A1CF
A1CF_m52603847 A1CF
A1CF_p52595870 A1CF
A1CF_p52595881 A1CF
A1CF_p52596023 A1CF
Return to [Home]