  Stardust is a class of presolar grains each of which presents an ideally
uncontaminated stellar sample. Mainstream silicon carbide (SiC) stardust formed
in the extended envelopes of carbon-rich asymptotic giant branch (AGB) stars
and incorporated the radioactive nucleus 26Al as a trace element. The aim of
this paper is to analyse in detail the effect of nuclear uncertainties, in
particular the large uncertainties of up to four orders of magnitude related to
the 26Al_g+(p,gamma)27Si reaction rate, on the production of 26Al in AGB stars
and compare model predictions to data obtained from laboratory analysis of SiC
stardust grains. Stellar uncertainties are also briefly discussed. We use a
detailed nucleosynthesis postprocessing code to calculate the 26Al/27Al ratios
at the surface of AGB stars of different masses (M = 1.75, 3, and 5 M_sun) and
metallicities (Z = 0.02, 0.012, and 0.008). For the lower limit and recommended
value of the 26Al_g(p,gamma)27Si reaction rate, the predicted 26Al/27Al ratios
replicate the upper values of the range of the 26Al/27Al ratios measured in SiC
grains. For the upper limit of the 26Al_g(p,gamma)27Si reaction rate, instead,
the predicted 26Al/27Al ratios are approximately 100 times lower and lie below
the range observed in SiC grains. When considering models of different masses
and metallicities, the spread of more than an order of magnitude in the
26Al/27Al ratios measured in stellar SiC grains is not reproduced. We propose
two scenarios to explain the spread of the 26Al/27Al ratios observed in
mainstream SiC, depending on the choice of the 26Al_g+p reaction rate. One
involves different times of stardust formation, the other involves extra-mixing
processes. Stronger conclusions will be possible after more information is
available from future nuclear experiments on the 26Al_g+p reaction.
