A method of predicting variation of porcine intramuscular fat profile. The method includes detecting a BRCA1 gene and/or a JAML gene, or an expression product thereof. The disclosure also provides a method of selecting and breeding pigs. The method includes detecting a BRCA1 gene and/or a JAML gene, or an expression product thereof.