% for s in `cut -f2 unc-removed-samples.txt` ; do echo "UNC-Removed-Sample: $s" ; grep $s pancan12-whitelist-2012_12_18.whitelist | awk '{print $0}' ; done UNC-Removed-Sample: TCGA-AR-A0U1-01A-11R-A115-07 TCGA-AR-A0U1-01A-11R-A115-07 3450eaab-777a-46ab-9d13-8e0783c4a686 BRCA TP agilentg4502a_07_3 TCGA-AR-A0U1-01A-11R-A115-07 3450eaab-777a-46ab-9d13-8e0783c4a686 BRCA TP illuminahiseq_rnaseq TCGA-AR-A0U1-01A-11R-A115-07 3450eaab-777a-46ab-9d13-8e0783c4a686 BRCA TP illuminahiseq_rnaseqv2 UNC-Removed-Sample: TCGA-A7-A0DC-01A-11R-A00Z-07 UNC-Removed-Sample: TCGA-BH-A0B2-11A-11R-A10J-07 UNC-Removed-Sample: TCGA-BH-A0B2-01A-11R-A10J-07 UNC-Removed-Sample: TCGA-A7-A0DC-11A-41R-A089-07 UNC-Removed-Sample: TCGA-E2-A1IP-01A-11R-A14D-07 UNC-Removed-Sample: TCGA-AA-3695-01A-01R-0905-07 TCGA-AA-3695-01A-01R-0905-07 1bd32c73-d248-4b86-8509-d2f8033ebf85 COAD TP agilentg4502a_07_3 TCGA-AA-3695-01A-01R-0905-07 1bd32c73-d248-4b86-8509-d2f8033ebf85 COAD TP illuminaga_rnaseq TCGA-AA-3695-01A-01R-0905-07 1bd32c73-d248-4b86-8509-d2f8033ebf85 COAD TP illuminahiseq_rnaseqv2 UNC-Removed-Sample: TCGA-A6-2670-01A-02R-0821-07 TCGA-A6-2670-01A-02R-0821-07 48fc4364-a8c5-4571-982f-7564a7bf778e COAD TP agilentg4502a_07_3 TCGA-A6-2670-01A-02R-0821-07 48fc4364-a8c5-4571-982f-7564a7bf778e COAD TP illuminaga_rnaseq TCGA-A6-2670-01A-02R-0821-07 48fc4364-a8c5-4571-982f-7564a7bf778e COAD TP illuminahiseq_rnaseqv2 UNC-Removed-Sample: TCGA-14-0871-01A-01R-1849-01 TCGA-14-0871-01A-01R-1849-01 4bd8bbae-7370-43c7-89cb-0fe0028553dd GBM TP illuminahiseq_rnaseqv2 UNC-Removed-Sample: TCGA-33-4579-01A-01R-1443-07 UNC-Removed-Sample: TCGA-31-1950-01A-01R-1568-13 TCGA-31-1950-01A-01R-1568-13 a32eba80-dbe9-464e-8102-5f77a3c7e177 OV TP illuminahiseq_mirnaseq TCGA-31-1950-01A-01R-1568-13 a32eba80-dbe9-464e-8102-5f77a3c7e177 OV TP illuminahiseq_rnaseq TCGA-31-1950-01A-01R-1568-13 a32eba80-dbe9-464e-8102-5f77a3c7e177 OV TP illuminahiseq_rnaseqv2