<commit_before>snp_file=$1
pop=$2
 
echo "$snp_file"
echo "$pop"

cn=`sed -n 2,2p "$snp_file" | tr "\t" "\n" | wc -l`
 
cn=8

for (( i=8; i <= $cn; i++ ))
do
#echo "$i"
perl $HOME/code/code_perl/load_zeabase_snps.pl -H localhost -D zea -i <(cut -f2,$i "$snp_file") -p GBS_Cornell_Biotech -g "$pop" < $HOME/DataFromVahid/Data4EachTrialAfterQC/Data4EachTrialAfterQCNew/database_user_name_pd2.txt

done<commit_msg>add loading SNP data for one accession<commit_after>snp_file=$1
pop=$2
 
echo "$snp_file"
echo "$pop"

cn=`sed -n 2,2p "$snp_file" | tr "\t" "\n" | wc -l`
 
#cn=8

for (( i=9; i <= $cn; i++ ))
do
#echo "$i"
perl $HOME/code/code_perl/load_zeabase_snps.pl -H db3.sgn.cornell.edu -D zea -i <(cut -f2,$i "$snp_file") -p GBS_Cornell_Biotech -g "$pop" < $HOME/code/database_user_name_pd2.txt

done
{'fraction_non_alphanumeric': 0.19201995012468828, 'fraction_numerical': 0.02369077306733167, 'mean_word_length': 4.3533333333333335, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6436057', 'n_tokens_mistral': 398, 'n_tokens_neox': 373, 'n_words': 85}