Hello I have two fasta files with different IDs which belongs to the two genotypes . first fasta file Consists of 100 contigs while second file include 100,000 contigs. I want to extranct the same contigs of first file from second file. I thank you for your suggestions.
Thank you
Hi,
You can convert your 100,000 contig fasta to tsv using fasta_formatter from the FASTX-Toolkit
Then use grep with the --file option to supply your text file (list of 100 IDs) of patterns.
You cane use Galaxy, too.