23 | | ''Running the program'' |
| 29 | The data extracted from !BeadStudio needs to split into a separate file for each sample using the script ''split_beadstudio_samples.pl'' |
| 30 | |
| 31 | {{{ |
| 32 | ./split_beadstudio_samples.pl --beadstudio_file example/example_beadstudio_data.txt |
| 33 | }}} |
| 34 | where ''example_beadstudio_data.txt'' is a file exported from !BeadStudio in the format described above. |
| 35 | |
| 36 | This script will generate one file per sample together with a file ''sample_names.txt'' in the tQN subdirectory ''extracted''. These files are used when tQN is run and can be deleted once the samples are normalized. |
| 37 | |
| 38 | ''Performing tQN'' |
| 39 | |
| 40 | Run tQN with the following command: |
| 41 | |
| 42 | {{{ |
| 43 | ./tQN_normalize_samples.pl --beadchip=humancnv370-duo |
| 44 | }}} |
| 45 | |
| 46 | This command will perform tQN on the samples in the tQN subdirectory ''extracted'' that are specified in the file ''sample_names.txt''. If you want to perform tQN on a subset of samples you can edit ''sample_names.txt'' accordingly. The normalized data is stored in the tQN subdirectory ''normalized''. For each sample, there is a file with tQN normalized data. A file ''tQN_beadstudio.txt'' is also generated with tQN BAF and Log R Ratios for all samples in a format suitable for import into !BeadStudio using its import column process. tQN also supports generating tQN data for further analysis with PennCNV and QuantiSNP. Running tQN with the following command: |
| 47 | |
| 48 | {{{ |
| 49 | ./tQN_normalize_samples.pl --beadchip=humancnv370-duo --output_format=PennCNV |
| 50 | }}} |
| 51 | |
| 52 | generates one data file per sample in the tQN subdirectory ''normalized'' for further analysis using PennCNV. Alternatives for ''--output_format'' are ''QuantiSNP'', which generates one data file per sample for further analysis with QuantiSNP and ''!BeadStudio'', which is the default argument generating the default ''tQN_beadstudio.txt'' file with data for all samples. |
| 53 | |
| 54 | |
| 55 | |