Thank you for your email. There are a couple of ways to do this: via the command line, or using the Table Browser. Using the command line:
twoBitToFa -seqList=intervalList.txt \
http://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.2bit stdout \
| gzip -c > intervalsMasked.fa.gz
To mask repeats using the
Table Browser, you must create a
custom track of your regions, then upload your file on the Table Browser. Select "sequence" as your output format, click "get output". On the following page, select "genomic" and click "submit". Finally, select the "Mask repeats" option under
Sequence Formatting Options and click "get sequence".